@ryandur/sand
Preparing search index...
Nothing
Type Alias Nothing
type
Nothing
=
{
isNothing
:
true
;
and
<
OTHER
>
(
other
:
Maybe
<
OTHER
>
)
:
Nothing
;
either
<
ON_SOME
,
ON_NOTHING
>
(
onSome
:
(
thing
:
never
)
=>
ON_SOME
,
onNothing
:
()
=>
ON_NOTHING
,
)
:
ON_SOME
|
ON_NOTHING
;
inspect
()
:
string
;
map
<
NEW_THING
>
(
f
:
(
value
:
never
)
=>
NEW_THING
)
:
Nothing
;
mBind
<
NEW_THING
>
(
f
:
(
value
:
never
)
=>
Maybe
<
NEW_THING
>
)
:
Maybe
<
NEW_THING
>
;
or
<
THING
>
(
f
:
()
=>
Maybe
<
THING
>
)
:
Maybe
<
THING
>
;
orElse
<
FALLBACK
>
(
fallback
:
FALLBACK
)
:
FALLBACK
;
orNull
()
:
null
;
toResult
<
ERROR
>
(
fallback
:
ERROR
)
:
Result
<
never
,
ERROR
>
;
}
Index
Properties
is
Nothing
Methods
and
either
inspect
map
m
Bind
or
or
Else
or
Null
to
Result
Properties
Readonly
is
Nothing
isNothing
:
true
Methods
and
and
<
OTHER
>
(
other
:
Maybe
<
OTHER
>
)
:
Nothing
Type Parameters
OTHER
Parameters
other
:
Maybe
<
OTHER
>
Returns
Nothing
either
either
<
ON_SOME
,
ON_NOTHING
>
(
onSome
:
(
thing
:
never
)
=>
ON_SOME
,
onNothing
:
()
=>
ON_NOTHING
,
)
:
ON_SOME
|
ON_NOTHING
Type Parameters
ON_SOME
ON_NOTHING
Parameters
onSome
:
(
thing
:
never
)
=>
ON_SOME
onNothing
:
()
=>
ON_NOTHING
Returns
ON_SOME
|
ON_NOTHING
inspect
inspect
()
:
string
Returns
string
map
map
<
NEW_THING
>
(
f
:
(
value
:
never
)
=>
NEW_THING
)
:
Nothing
Type Parameters
NEW_THING
Parameters
f
:
(
value
:
never
)
=>
NEW_THING
Returns
Nothing
m
Bind
mBind
<
NEW_THING
>
(
f
:
(
value
:
never
)
=>
Maybe
<
NEW_THING
>
)
:
Maybe
<
NEW_THING
>
Type Parameters
NEW_THING
Parameters
f
:
(
value
:
never
)
=>
Maybe
<
NEW_THING
>
Returns
Maybe
<
NEW_THING
>
or
or
<
THING
>
(
f
:
()
=>
Maybe
<
THING
>
)
:
Maybe
<
THING
>
Type Parameters
THING
Parameters
f
:
()
=>
Maybe
<
THING
>
Returns
Maybe
<
THING
>
or
Else
orElse
<
FALLBACK
>
(
fallback
:
FALLBACK
)
:
FALLBACK
Type Parameters
FALLBACK
Parameters
fallback
:
FALLBACK
Returns
FALLBACK
or
Null
orNull
()
:
null
Returns
null
to
Result
toResult
<
ERROR
>
(
fallback
:
ERROR
)
:
Result
<
never
,
ERROR
>
Type Parameters
ERROR
Parameters
fallback
:
ERROR
Returns
Result
<
never
,
ERROR
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
is
Nothing
Methods
and
either
inspect
map
m
Bind
or
or
Else
or
Null
to
Result
@ryandur/sand
Loading...