either.Right(x)

Parameters:
Name Type Description
x *
Properties:
Name Type Description
value *

Extends

Methods

static of(x) → {Right}

Same as new Right(...).

Parameters:
Name Type Description
x *
Returns:
Right

map(fn) → {Either}

Maps a function over contained value and returns result wrapped.

Parameters:
Name Type Description
fn function

Unary operation.

Returns:
Either
Overrides: