* The base implementation of `_.unary` without support for storing metadata. * * @private * @param {Function} func The function to cap arguments for. * @returns {Function} Returns the new capped function.
(func)
| 1029 | * @returns {Function} Returns the new capped function. |
| 1030 | */ |
| 1031 | function baseUnary(func) { |
| 1032 | return function(value) { |
| 1033 | return func(value); |
| 1034 | }; |
| 1035 | } |
| 1036 | |
| 1037 | /** |
| 1038 | * The base implementation of `_.values` and `_.valuesIn` which creates an |
no outgoing calls
no test coverage detected