Sha256: 6008977d8877fef23aa6222d4ccce3a7a94f7b506bac870ae02ba86e77f8ccf2
Contents?: true
Size: 353 Bytes
Versions: 62
Compression:
Stored size: 353 Bytes
Contents
var partial = require('./partial'); /** * Returns the first function passed as an argument to the second, * allowing you to adjust arguments, run code before and after, and * conditionally execute the original function. */ function wrap(fn, wrapper){ return partial(wrapper, fn); } module.exports = wrap;
Version data entries
62 entries across 62 versions & 1 rubygems