mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Simplify references to partial or provided arguments. [ci skip]
This commit is contained in:
34
lodash.js
34
lodash.js
@@ -4641,9 +4641,8 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a function that wraps `func` to invoke it with the optional `this`
|
||||
* binding of `thisArg` and the `partials` prepended to those provided to
|
||||
* the wrapper.
|
||||
* Creates a function that wraps `func` to invoke it with the `this` binding
|
||||
* of `thisArg` and `partials` prepended to the arguments it receives.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} func The function to wrap.
|
||||
@@ -5154,7 +5153,7 @@
|
||||
/**
|
||||
* Gets the appropriate "iteratee" function. If the `_.iteratee` method is
|
||||
* customized this function returns the custom method, otherwise it returns
|
||||
* `baseIteratee`. If arguments are provided the chosen function is invoked
|
||||
* `baseIteratee`. If arguments are provided, the chosen function is invoked
|
||||
* with them and its result is returned.
|
||||
*
|
||||
* @private
|
||||
@@ -8985,8 +8984,8 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a function that accepts up to `n` arguments, ignoring any
|
||||
* additional arguments.
|
||||
* Creates a function that invokes `func`, with up to `n` arguments,
|
||||
* ignoring any additional arguments.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -9043,8 +9042,7 @@
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `func` with the `this` binding of `thisArg`
|
||||
* and prepends any additional `_.bind` arguments to those provided to the
|
||||
* bound function.
|
||||
* and `partials` prepended to the arguments it receives.
|
||||
*
|
||||
* The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
|
||||
* may be used as a placeholder for partially applied arguments.
|
||||
@@ -9087,8 +9085,8 @@
|
||||
});
|
||||
|
||||
/**
|
||||
* Creates a function that invokes the method at `object[key]` and prepends
|
||||
* any additional `_.bindKey` arguments to those provided to the bound function.
|
||||
* Creates a function that invokes the method at `object[key]` with `partials`
|
||||
* prepended to the arguments it receives.
|
||||
*
|
||||
* This method differs from `_.bind` by allowing bound functions to reference
|
||||
* methods that may be redefined or don't yet exist. See
|
||||
@@ -9633,9 +9631,9 @@
|
||||
});
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `func` with `partial` arguments prepended
|
||||
* to those provided to the new function. This method is like `_.bind` except
|
||||
* it does **not** alter the `this` binding.
|
||||
* Creates a function that invokes `func` with `partials` prepended to the
|
||||
* arguments it receives. This method is like `_.bind` except it does **not**
|
||||
* alter the `this` binding.
|
||||
*
|
||||
* The `_.partial.placeholder` value, which defaults to `_` in monolithic
|
||||
* builds, may be used as a placeholder for partially applied arguments.
|
||||
@@ -9672,7 +9670,7 @@
|
||||
|
||||
/**
|
||||
* This method is like `_.partial` except that partially applied arguments
|
||||
* are appended to those provided to the new function.
|
||||
* are appended to the arguments it receives.
|
||||
*
|
||||
* The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
|
||||
* builds, may be used as a placeholder for partially applied arguments.
|
||||
@@ -14686,8 +14684,8 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `iteratees` with the arguments provided
|
||||
* to the created function and returns their results.
|
||||
* Creates a function that invokes `iteratees` with the arguments it receives
|
||||
* and returns their results.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -14706,7 +14704,7 @@
|
||||
|
||||
/**
|
||||
* Creates a function that checks if **all** of the `predicates` return
|
||||
* truthy when invoked with the arguments provided to the created function.
|
||||
* truthy when invoked with the arguments it receives.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -14731,7 +14729,7 @@
|
||||
|
||||
/**
|
||||
* Creates a function that checks if **any** of the `predicates` return
|
||||
* truthy when invoked with the arguments provided to the created function.
|
||||
* truthy when invoked with the arguments it receives.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
|
||||
Reference in New Issue
Block a user