CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
wrapperChain.js35 linesDownload Raw Back to lodash-es
1import chain from './chain.js';2 3/**4 * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.5 *6 * @name chain7 * @memberOf _8 * @since 0.1.09 * @category Seq10 * @returns {Object} Returns the new `lodash` wrapper instance.11 * @example12 *13 * var users = [14 *   { 'user': 'barney', 'age': 36 },15 *   { 'user': 'fred',   'age': 40 }16 * ];17 *18 * // A sequence without explicit chaining.19 * _(users).head();20 * // => { 'user': 'barney', 'age': 36 }21 *22 * // A sequence with explicit chaining.23 * _(users)24 *   .chain()25 *   .head()26 *   .pick('user')27 *   .value();28 * // => { 'user': 'barney' }29 */30function wrapperChain() {31  return chain(this);32}33 34export default wrapperChain;35 
basant307/AI_Governance_Project · CoolFace