maybeasy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Just
constructor
value
and
Then
assign
cata
do
get
OrElse
get
OrElse
Value
map
or
Else
just
Type parameters
A
Hierarchy
Maybe
<
A
>
Just
Index
Constructors
constructor
Properties
value
Methods
and
Then
assign
cata
do
get
OrElse
get
OrElse
Value
map
or
Else
Constructors
constructor
new
Just
(
value
:
A
)
:
Just
Parameters
value:
A
Returns
Just
Properties
Private
value
value
:
A
Methods
and
Then
and
Then<B>
(
fn
:
function
)
:
Maybe
<
B
>
Type parameters
B
Parameters
fn:
function
(
a
:
A
)
:
Maybe
<
B
>
Parameters
a:
A
Returns
Maybe
<
B
>
Returns
Maybe
<
B
>
assign
assign<K, B>
(
k
:
K
, other
:
Maybe
<
B
>
|
function
)
:
Maybe
<
A
&
object
>
Type parameters
K
:
string
B
Parameters
k:
K
other:
Maybe
<
B
>
|
function
Returns
Maybe
<
A
&
object
>
cata
cata<B>
(
matcher
:
Catamorphism
<
A
,
B
>
)
:
B
Type parameters
B
Parameters
matcher:
Catamorphism
<
A
,
B
>
Returns
B
do
do
(
fn
:
function
)
:
Maybe
<
A
>
Parameters
fn:
function
(
a
:
A
)
:
void
Parameters
a:
A
Returns
void
Returns
Maybe
<
A
>
get
OrElse
get
OrElse
(
fn
:
function
)
:
A
Parameters
fn:
function
(
)
:
A
Returns
A
Returns
A
get
OrElse
Value
get
OrElse
Value
(
defaultValue
:
A
)
:
A
Parameters
defaultValue:
A
Returns
A
map
map<B>
(
fn
:
function
)
:
Maybe
<
B
>
Type parameters
B
Parameters
fn:
function
(
a
:
A
)
:
B
Parameters
a:
A
Returns
B
Returns
Maybe
<
B
>
or
Else
or
Else
(
fn
:
function
)
:
Maybe
<
A
>
Parameters
fn:
function
(
)
:
Maybe
<
A
>
Returns
Maybe
<
A
>
Returns
Maybe
<
A
>
Generated using
TypeDoc