Module

x/lodash_es/src/wrap.js>default

lodash for deno use
Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/wrap.js";

Creates a function that provides value to wrapper as its first argument. Any additional arguments provided to the function are appended to those provided to the wrapper. The wrapper is invoked with the this binding of the created function.

Examples

var p = .wrap(.escape, function(func, text) { return '' + func(text) + ''; });

p('fred, barney, & pebbles'); // => 'fred, barney, & pebbles'

Parameters

value

The value to wrap.

wrapper