Defined in node_modules/purify-ts/Either.d.ts:8 Defined in node_modules/purify-ts/Either.d.ts:89 Methods alt alt ( other ) : functional . Either < L , R > Defined in node_modules/purify-ts/Either.d.ts:35 alt Lazy alt Lazy ( other ) : functional . Either < L , R > Defined in node_modules/purify-ts/Either.d.ts:37 ap ap < L2 , R2 > ( other ) : functional . Either < L | L2 , R2 > Defined in node_modules/purify-ts/Either.d.ts:25 bimap bimap < L2 , R2 > ( f , g ) : functional . Either < L2 , R2 > Parameters f : ( ( value ) => L2 ) g : ( ( value ) => R2 ) Defined in node_modules/purify-ts/Either.d.ts:19 case Of case Of < T > ( patterns ) : T Returns T Defined in node_modules/purify-ts/Either.d.ts:45 chain chain < L2 , R2 > ( f ) : functional . Either < L | L2 , R2 > Defined in node_modules/purify-ts/Either.d.ts:29 chain Left chain Left < L2 , R2 > ( f ) : functional . Either < L2 , R | R2 > Defined in node_modules/purify-ts/Either.d.ts:31 equals equals ( other ) : boolean Returns boolean Defined in node_modules/purify-ts/Either.d.ts:27 extend extend < R2 > ( f ) : functional . Either < L , R2 > Defined in node_modules/purify-ts/Either.d.ts:41 extract Returns L | R Defined in node_modules/purify-ts/Either.d.ts:63 fantasy- land/alt fantasy- land/alt ( other ) : functional . Either < L , R > Defined in node_modules/purify-ts/Either.d.ts:71 fantasy- land/ap fantasy- land/ap < R2 > ( other ) : functional . Either < L , R2 > Defined in node_modules/purify-ts/Either.d.ts:68 fantasy- land/bimap fantasy- land/bimap < L2 , R2 > ( f , g ) : functional . Either < L2 , R2 > Parameters f : ( ( value ) => L2 ) g : ( ( value ) => R2 ) Defined in node_modules/purify-ts/Either.d.ts:66 fantasy- land/chain fantasy- land/chain < L2 , R2 > ( f ) : functional . Either < L | L2 , R2 > Defined in node_modules/purify-ts/Either.d.ts:70 fantasy- land/equals fantasy- land/equals ( other ) : boolean Returns boolean Defined in node_modules/purify-ts/Either.d.ts:69 fantasy- land/extend fantasy- land/extend < R2 > ( f ) : functional . Either < L , R2 > Defined in node_modules/purify-ts/Either.d.ts:73 fantasy- land/map fantasy- land/map < R2 > ( f ) : functional . Either < L , R2 > Defined in node_modules/purify-ts/Either.d.ts:67 fantasy- land/reduce fantasy- land/reduce < T > ( reducer , initialValue ) : T Parameters reducer : ( ( accumulator , value ) => T ) ( accumulator , value ) : T Returns T initialValue : T Returns T Defined in node_modules/purify-ts/Either.d.ts:72 if Left if Left ( effect ) : functional . Either < L , R > Defined in node_modules/purify-ts/Either.d.ts:55 if Right if Right ( effect ) : functional . Either < L , R > Defined in node_modules/purify-ts/Either.d.ts:57 inspect inspect ( ) : string Returns string Defined in node_modules/purify-ts/Either.d.ts:14 is Left is Left ( ) : this is functional . Either < L , never > Defined in node_modules/purify-ts/Either.d.ts:10 is Right is Right ( ) : this is functional . Either < never , R > Defined in node_modules/purify-ts/Either.d.ts:12 join join < L2 , R2 > ( this ) : functional . Either < L | L2 , R2 > Defined in node_modules/purify-ts/Either.d.ts:33 left Or Default left Or Default ( defaultValue ) : L Returns L Defined in node_modules/purify-ts/Either.d.ts:47 left Or Default Lazy left Or Default Lazy ( getDefaultValue ) : L Parameters getDefaultValue : ( ( ) => L ) Returns L Defined in node_modules/purify-ts/Either.d.ts:53 left To Maybe left To Maybe ( ) : functional . Maybe < L > Defined in node_modules/purify-ts/Either.d.ts:61 map map < R2 > ( f ) : functional . Either < L , R2 > Defined in node_modules/purify-ts/Either.d.ts:21 map Left map Left < L2 > ( f ) : functional . Either < L2 , R > Defined in node_modules/purify-ts/Either.d.ts:23 or Default or Default ( defaultValue ) : R Returns R Defined in node_modules/purify-ts/Either.d.ts:49 or Default Lazy or Default Lazy ( getDefaultValue ) : R Parameters getDefaultValue : ( ( ) => R ) Returns R Defined in node_modules/purify-ts/Either.d.ts:51 reduce reduce < T > ( reducer , initialValue ) : T Parameters reducer : ( ( accumulator , value ) => T ) ( accumulator , value ) : T Returns T initialValue : T Returns T Defined in node_modules/purify-ts/Either.d.ts:39 toJSON toJSON ( ) : L | R Returns L | R Defined in node_modules/purify-ts/Either.d.ts:13 to Maybe to Maybe ( ) : functional . Maybe < R > Defined in node_modules/purify-ts/Either.d.ts:59 to String to String ( ) : string Returns string Defined in node_modules/purify-ts/Either.d.ts:15 unsafe Coerce unsafe Coerce ( ) : R Returns R Defined in node_modules/purify-ts/Either.d.ts:43
Returns the first
Right
betweenthis
and anotherEither
or theLeft
in the argument if boththis
and the argument areLeft