Preparing search index...
The search index is not available
collections-commons
collections-commons
functions
identity
Function identity
identity
<
T
>
(
value
:
T
)
:
T
The identity function that always returns its input argument.
Type Parameters
Type Parameters
T
Parameters
value:
T
the input
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
collections-
commons
data-
structures
extensions/array
extensions/iterable
extensions/map
extensions/multi-
value-
map
extensions/record
functions
types
always
True
identity
is
Iterable
json
Equal
json
Parse
json
Stringify
lazy
lazy
Lookup
lenient
Equal
strict
Equal
strict
Equal
By
strict
Equal
Or
Nullish
with
Context
with
Counter
Generated using
TypeDoc
The identity function that always returns its input argument.