identity_.identity(value)
Returns the same value that is used as the argument. In math: f(x) = x
This function looks useless, but is used throughout Underscore as a default iteratee.
1 2 3 | var stooge = {name: 'moe' }; stooge === _.identity(stooge); => true |
Please login to continue.