Sha256: 0a4d79df4eb86fadc25627cef8dc7ca10356191d2cddcb9f0f1b10ca5b1ebb29
Contents?: true
Size: 340 Bytes
Versions: 25
Compression:
Stored size: 340 Bytes
Contents
/** * The base implementation of `_.unary` without support for storing wrapper metadata. * * @private * @param {Function} func The function to cap arguments for. * @returns {Function} Returns the new capped function. */ function baseUnary(func) { return function(value) { return func(value); }; } module.exports = baseUnary;
Version data entries
25 entries across 4 versions & 2 rubygems