Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"utils/identity-function/docs/types/index.d"
External module "utils/identity-function/docs/types/index.d"
Index
Functions
identity
Functions
identity
identity
(
x
:
any
)
:
any
Identity function.
Parameters
x:
any
input value
Returns
any
input value
Example
var
v = identity(
3.14
);
// returns 3.14
Packages
"utils/identity-
function/docs/types/index.d"
identity
Identity function.