Module: Identity
Type Aliases
Identity
Ƭ Identity<T
>: (x
: T
) => T
Type parameters
Name |
---|
T |
Type declaration
▸ (x
): T
A type describing the identity
function.
Parameters
Name | Type |
---|---|
x | T |
Returns
T
Functions
identity
▸ identity<T
>(x
): T
A function which returns the provided value.
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
x | T |
Returns
T