Creates a function that accepts up to one argument, ignoring any additional arguments.
The function to cap arguments for.
Rest
Returns the new function.
_.map(['6', '8', '10'], _.unary(parseInt));// => [6, 8, 10] Copy
_.map(['6', '8', '10'], _.unary(parseInt));// => [6, 8, 10]
Creates a function that accepts up to one argument, ignoring any additional arguments.