* Creates a function that provides `value` to the wrapper function as its * first argument. Any additional arguments provided to the function are * appended to those provided to the wrapper function. The wrapper is invoked * with the `this` binding of the created function. *
(value, wrapper)
| 9736 | * // => '<p>fred, barney, & pebbles</p>' |
| 9737 | */ |
| 9738 | function wrap(value, wrapper) { |
| 9739 | wrapper = wrapper == null ? identity : wrapper; |
| 9740 | return createWrapper(wrapper, PARTIAL_FLAG, null, [value], []); |
| 9741 | } |
| 9742 | |
| 9743 | /*------------------------------------------------------------------------*/ |
| 9744 |
no test coverage detected