Sha256: 70c60c7f965c08178b59b2bd4d0988ea73a9c52522f53390d108b3c5f7ffa188
Contents?: true
Size: 332 Bytes
Versions: 274
Compression:
Stored size: 332 Bytes
Contents
/** * 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. */ function baseUnary(func) { return function(value) { return func(value); }; } module.exports = baseUnary;
Version data entries
274 entries across 272 versions & 30 rubygems