Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-lib
monet
Identity
Interface Identity<T>
Identity
interface
Identity
<
T
>
{
@@type
:
string
;
[iterator]
(
)
:
Iterator
<
T
,
any
,
undefined
>
;
ap
<
V
>
(
applyFn
:
monet
.
Identity
<
(
(
val
:
T
)
=>
V
)
>
)
:
monet
.
Identity
<
V
>
;
apTo
<
V
>
(
value
:
monet
.
Identity
<
V
>
)
:
T
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
Identity
<
ReturnType
<
T
<
T
>
>
>
:
never
;
bind
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
)
:
monet
.
Identity
<
V
>
;
chain
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
)
:
monet
.
Identity
<
V
>
;
contains
(
val
:
T
)
:
boolean
;
equals
(
other
:
monet
.
Identity
<
T
>
)
:
boolean
;
every
(
fn
:
(
(
e
:
T
)
=>
boolean
)
)
:
boolean
;
exists
(
fn
:
(
(
e
:
T
)
=>
boolean
)
)
:
boolean
;
fantasy-land/ap
?
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
T
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
;
fantasy-land/chain
?
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Chain
<
V
>
)
)
:
monet
.
Chain
<
V
>
;
fantasy-land/equals
?
(
other
:
monet
.
Identity
<
T
>
)
:
boolean
;
fantasy-land/map
?
<
V
>
(
fn
:
(
(
val
:
T
)
=>
V
)
)
:
monet
.
Functor
<
V
>
;
flatMap
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
)
:
monet
.
Identity
<
V
>
;
forEach
(
fn
:
(
(
val
:
T
)
=>
void
)
)
:
void
;
forall
(
fn
:
(
(
e
:
T
)
=>
boolean
)
)
:
boolean
;
get
(
)
:
T
;
join
<
V
>
(
)
:
monet
.
Identity
<
V
>
;
map
<
V
>
(
fn
:
(
(
val
:
T
)
=>
V
)
)
:
monet
.
Identity
<
V
>
;
takeLeft
(
m
:
monet
.
Identity
<
T
>
)
:
monet
.
Identity
<
T
>
;
takeRight
(
m
:
monet
.
Identity
<
T
>
)
:
monet
.
Identity
<
T
>
;
to
<
I
extends
Iterable
<
T
>
>
(
ctor
:
(
(
iter
:
Iterable
<
T
>
)
=>
I
)
)
:
I
;
toArray
(
)
:
T
[]
;
toList
(
)
:
monet
.
List
<
T
>
;
toSet
(
)
:
Set
<
T
>
;
}
Type Parameters
T
Hierarchy-Diagram
Legend
interface
public method
Hierarchy (
view full
)
monet
.
IMonad
<
T
>
monet
.
Setoid
<
monet
.
Identity
<
T
>
>
Iterable
<
T
>
Identity
Index
Properties
@@type
Methods
[iterator]
ap
ap
To
bind
chain
contains
equals
every
exists
fantasy-
land/ap?
fantasy-
land/chain?
fantasy-
land/equals?
fantasy-
land/map?
flat
Map
for
Each
forall
get
join
map
take
Left
take
Right
to
to
Array
to
List
to
Set
Properties
@@type
@@type
:
string
Methods
[iterator]
[iterator]
(
)
:
Iterator
<
T
,
any
,
undefined
>
Returns
Iterator
<
T
,
any
,
undefined
>
ap
ap
<
V
>
(
applyFn
:
monet
.
Identity
<
(
(
val
:
T
)
=>
V
)
>
)
:
monet
.
Identity
<
V
>
Type Parameters
V
Parameters
applyFn
:
monet
.
Identity
<
(
(
val
:
T
)
=>
V
)
>
Returns
monet
.
Identity
<
V
>
ap
To
ap
To
<
V
>
(
value
:
monet
.
Identity
<
V
>
)
:
T
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
Identity
<
ReturnType
<
T
<
T
>
>
>
:
never
Type Parameters
V
Parameters
value
:
monet
.
Identity
<
V
>
Returns
T
extends
(
(
arg
:
V
)
=>
any
)
?
monet
.
Identity
<
ReturnType
<
T
<
T
>
>
>
:
never
bind
bind
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
)
:
monet
.
Identity
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
(
val
:
T
)
:
monet
.
Identity
<
V
>
Parameters
val
:
T
Returns
monet
.
Identity
<
V
>
Returns
monet
.
Identity
<
V
>
chain
chain
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
)
:
monet
.
Identity
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
(
val
:
T
)
:
monet
.
Identity
<
V
>
Parameters
val
:
T
Returns
monet
.
Identity
<
V
>
Returns
monet
.
Identity
<
V
>
contains
contains
(
val
:
T
)
:
boolean
Parameters
val
:
T
Returns
boolean
equals
equals
(
other
:
monet
.
Identity
<
T
>
)
:
boolean
Parameters
other
:
monet
.
Identity
<
T
>
Returns
boolean
every
every
(
fn
:
(
(
e
:
T
)
=>
boolean
)
)
:
boolean
Parameters
fn
:
(
(
e
:
T
)
=>
boolean
)
(
e
:
T
)
:
boolean
Parameters
e
:
T
Returns
boolean
Returns
boolean
exists
exists
(
fn
:
(
(
e
:
T
)
=>
boolean
)
)
:
boolean
Parameters
fn
:
(
(
e
:
T
)
=>
boolean
)
(
e
:
T
)
:
boolean
Parameters
e
:
T
Returns
boolean
Returns
boolean
Optional
fantasy-
land/ap
fantasy-
land/ap
<
V
>
(
afn
:
monet
.
Applicative
<
(
(
val
:
T
)
=>
V
)
>
)
:
monet
.
Applicative
<
V
>
Type Parameters
V
Parameters
afn
:
monet
.
Applicative
<
(
(
val
:
T
)
=>
V
)
>
Returns
monet
.
Applicative
<
V
>
Optional
fantasy-
land/chain
fantasy-
land/chain
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Chain
<
V
>
)
)
:
monet
.
Chain
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
Chain
<
V
>
)
(
val
:
T
)
:
monet
.
Chain
<
V
>
Parameters
val
:
T
Returns
monet
.
Chain
<
V
>
Returns
monet
.
Chain
<
V
>
Optional
fantasy-
land/equals
fantasy-
land/equals
(
other
:
monet
.
Identity
<
T
>
)
:
boolean
Parameters
other
:
monet
.
Identity
<
T
>
Returns
boolean
Optional
fantasy-
land/map
fantasy-
land/map
<
V
>
(
fn
:
(
(
val
:
T
)
=>
V
)
)
:
monet
.
Functor
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
V
)
(
val
:
T
)
:
V
Parameters
val
:
T
Returns
V
Returns
monet
.
Functor
<
V
>
flat
Map
flat
Map
<
V
>
(
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
)
:
monet
.
Identity
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
monet
.
Identity
<
V
>
)
(
val
:
T
)
:
monet
.
Identity
<
V
>
Parameters
val
:
T
Returns
monet
.
Identity
<
V
>
Returns
monet
.
Identity
<
V
>
for
Each
for
Each
(
fn
:
(
(
val
:
T
)
=>
void
)
)
:
void
Parameters
fn
:
(
(
val
:
T
)
=>
void
)
(
val
:
T
)
:
void
Parameters
val
:
T
Returns
void
Returns
void
forall
forall
(
fn
:
(
(
e
:
T
)
=>
boolean
)
)
:
boolean
Parameters
fn
:
(
(
e
:
T
)
=>
boolean
)
(
e
:
T
)
:
boolean
Parameters
e
:
T
Returns
boolean
Returns
boolean
get
get
(
)
:
T
Returns
T
join
join
<
V
>
(
)
:
monet
.
Identity
<
V
>
Type Parameters
V
Returns
monet
.
Identity
<
V
>
map
map
<
V
>
(
fn
:
(
(
val
:
T
)
=>
V
)
)
:
monet
.
Identity
<
V
>
Type Parameters
V
Parameters
fn
:
(
(
val
:
T
)
=>
V
)
(
val
:
T
)
:
V
Parameters
val
:
T
Returns
V
Returns
monet
.
Identity
<
V
>
take
Left
take
Left
(
m
:
monet
.
Identity
<
T
>
)
:
monet
.
Identity
<
T
>
Parameters
m
:
monet
.
Identity
<
T
>
Returns
monet
.
Identity
<
T
>
take
Right
take
Right
(
m
:
monet
.
Identity
<
T
>
)
:
monet
.
Identity
<
T
>
Parameters
m
:
monet
.
Identity
<
T
>
Returns
monet
.
Identity
<
T
>
to
to
<
I
extends
Iterable
<
T
>
>
(
ctor
:
(
(
iter
:
Iterable
<
T
>
)
=>
I
)
)
:
I
Type Parameters
I
extends
Iterable
<
T
>
Parameters
ctor
:
(
(
iter
:
Iterable
<
T
>
)
=>
I
)
(
iter
:
Iterable
<
T
>
)
:
I
Parameters
iter
:
Iterable
<
T
>
Returns
I
Returns
I
to
Array
to
Array
(
)
:
T
[]
Returns
T
[]
to
List
to
List
(
)
:
monet
.
List
<
T
>
Returns
monet
.
List
<
T
>
to
Set
to
Set
(
)
:
Set
<
T
>
Returns
Set
<
T
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
@@type
[iterator]
ap
ap
To
bind
chain
contains
equals
every
exists
fantasy-
land/ap
fantasy-
land/chain
fantasy-
land/equals
fantasy-
land/map
flat
Map
for
Each
forall
get
join
map
take
Left
take
Right
to
to
Array
to
List
to
Set
Official Cockpit API Documentation
Houston Common Library
Loading...
Identity