Defined in node_modules/purify-ts/Maybe.d.ts:12 Defined in node_modules/purify-ts/Maybe.d.ts:104 Methods alt alt ( other ) : functional . Maybe < T > Defined in node_modules/purify-ts/Maybe.d.ts:27 alt Lazy alt Lazy ( other ) : functional . Maybe < T > Defined in node_modules/purify-ts/Maybe.d.ts:29 ap ap < U > ( maybeF ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:25 case Of case Of < U > ( patterns ) : U Returns U Defined in node_modules/purify-ts/Maybe.d.ts:43 chain chain < U > ( f ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:31 chain Nullable chain Nullable < U > ( f ) : functional . Maybe < U > Parameters f : ( ( value ) => undefined | null | void | U ) ( value ) : undefined | null | void | U Returns undefined | null | void | U Defined in node_modules/purify-ts/Maybe.d.ts:33 equals equals ( other ) : boolean Returns boolean Defined in node_modules/purify-ts/Maybe.d.ts:21 extend extend < U > ( f ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:39 extract Returns ExtractMaybe < T , undefined > Defined in node_modules/purify-ts/Maybe.d.ts:53 extract Nullable Returns ExtractMaybe < T , null > Defined in node_modules/purify-ts/Maybe.d.ts:55 fantasy- land/alt fantasy- land/alt ( other ) : functional . Maybe < T > Defined in node_modules/purify-ts/Maybe.d.ts:69 fantasy- land/ap fantasy- land/ap < U > ( maybeF ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:68 fantasy- land/chain fantasy- land/chain < U > ( f ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:70 fantasy- land/equals fantasy- land/equals ( other ) : boolean Returns boolean Defined in node_modules/purify-ts/Maybe.d.ts:66 fantasy- land/extend fantasy- land/extend < U > ( f ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:72 fantasy- land/filter fantasy- land/filter < U > ( pred ) : functional . Maybe < U > Parameters pred : ( ( value ) => boolean ) ( value ) : boolean Returns boolean Defined in node_modules/purify-ts/Maybe.d.ts:73 fantasy- land/filter ( pred ) : functional . Maybe < T > Parameters pred : ( ( value ) => boolean ) ( value ) : boolean Returns boolean Defined in node_modules/purify-ts/Maybe.d.ts:74 fantasy- land/map fantasy- land/map < U > ( f ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:67 fantasy- land/reduce fantasy- land/reduce < U > ( reducer , initialValue ) : U Parameters reducer : ( ( accumulator , value ) => U ) ( accumulator , value ) : U Returns U initialValue : U Returns U Defined in node_modules/purify-ts/Maybe.d.ts:71 filter filter < U > ( pred ) : functional . Maybe < U > Parameters pred : ( ( value ) => value is U ) ( value ) : value is U Returns value is U Defined in node_modules/purify-ts/Maybe.d.ts:63 filter ( pred ) : functional . Maybe < T > Parameters pred : ( ( value ) => boolean ) ( value ) : boolean Returns boolean Defined in node_modules/purify-ts/Maybe.d.ts:65 if Just if Just ( effect ) : functional . Maybe < T > Defined in node_modules/purify-ts/Maybe.d.ts:59 if Nothing if Nothing ( effect ) : functional . Maybe < T > Defined in node_modules/purify-ts/Maybe.d.ts:61 inspect inspect ( ) : string Returns string Defined in node_modules/purify-ts/Maybe.d.ts:17 is Just is Just ( ) : this is AlwaysJust Returns this is AlwaysJust Defined in node_modules/purify-ts/Maybe.d.ts:14 is Nothing is Nothing ( ) : this is Nothing Returns this is Nothing Defined in node_modules/purify-ts/Maybe.d.ts:16 join join < U > ( this ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:35 map map < U > ( f ) : functional . Maybe < U > Defined in node_modules/purify-ts/Maybe.d.ts:23 map Or Default map Or Default < U > ( f , defaultValue ) : U Parameters f : ( ( value ) => U ) defaultValue : U Returns U Defined in node_modules/purify-ts/Maybe.d.ts:51 or Default or Default ( defaultValue ) : T Returns T Defined in node_modules/purify-ts/Maybe.d.ts:45 or Default Lazy or Default Lazy ( getDefaultValue ) : T Parameters getDefaultValue : ( ( ) => T ) Returns T Defined in node_modules/purify-ts/Maybe.d.ts:47 reduce reduce < U > ( reducer , initialValue ) : U Parameters reducer : ( ( accumulator , value ) => U ) ( accumulator , value ) : U Returns U initialValue : U Returns U Defined in node_modules/purify-ts/Maybe.d.ts:37 to Either to Either < L > ( left ) : functional . Either < L , T > Defined in node_modules/purify-ts/Maybe.d.ts:57 toJSON toJSON ( ) : T Returns T Defined in node_modules/purify-ts/Maybe.d.ts:19 to List to List ( ) : T [] Returns T [] Defined in node_modules/purify-ts/Maybe.d.ts:49 to String to String ( ) : string Returns string Defined in node_modules/purify-ts/Maybe.d.ts:18 unsafe Coerce unsafe Coerce ( ) : T Returns T Defined in node_modules/purify-ts/Maybe.d.ts:41
Returns the first
Just
betweenthis
and anotherMaybe
orNothing
if boththis
and the argument areNothing