_.identity(value)
This method returns the first argument it receives.
Since
0.1.0
Arguments
-
value
(*): Any value.
Returns
(*): Returns value
.
Example
var object = { 'a': 1 }; console.log(_.identity(object) === object); // => true
_.identity(value)
This method returns the first argument it receives.
0.1.0
value
(*): Any value.(*): Returns value
.
var object = { 'a': 1 }; console.log(_.identity(object) === object); // => true
Please login to continue.