Lines Matching refs:method

362 * <a href="#_methodpath-args">`_.method`</a>
516 **Note:** Unlike `_.pullAll`, this method returns a new array.
542 This method is like `_.difference` except that it accepts `iteratee` which
549 **Note:** Unlike `_.pullAllBy`, this method returns a new array.
580 This method is like `_.difference` except that it accepts `comparator`
586 **Note:** Unlike `_.pullAllWith`, this method returns a new array.
781 **Note:** This method mutates `array`.
818 This method is like `_.find` except that it returns the index of the first
864 This method is like `_.findIndex` except that it iterates over elements
991 The inverse of `_.toPairs`; this method returns an object composed
1135 This method is like `_.intersection` except that it accepts `iteratee`
1169 This method is like `_.intersection` except that it accepts `comparator`
1252 This method is like `_.indexOf` except that it iterates over elements of
1321 **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
1351 This method is like `_.pull` except that it accepts an array of values to remove.
1354 **Note:** Unlike `_.difference`, this method mutates `array`.
1383 This method is like `_.pullAll` except that it accepts `iteratee` which is
1388 **Note:** Unlike `_.differenceBy`, this method mutates `array`.
1418 This method is like `_.pullAll` except that it accepts `comparator` which
1423 **Note:** Unlike `_.differenceWith`, this method mutates `array`.
1457 **Note:** Unlike `_.at`, this method mutates `array`.
1494 **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
1533 **Note:** This method mutates `array` and is based on
1567 **Note:** This method is used instead of
1618 This method is like `_.sortedIndex` except that it accepts `iteratee`
1653 This method is like `_.indexOf` except that it performs a binary
1680 This method is like `_.sortedIndex` except that it returns the highest
1708 This method is like `_.sortedLastIndex` except that it accepts `iteratee`
1743 This method is like `_.lastIndexOf` except that it performs a binary
1770 This method is like `_.uniq` except that it's designed and optimized
1796 This method is like `_.uniqBy` except that it's designed and optimized
2037 This method is like `_.union` except that it accepts `iteratee` which is
2071 This method is like `_.union` except that it accepts `comparator` which
2132 This method is like `_.uniq` except that it accepts `iteratee` which is
2166 This method is like `_.uniq` except that it accepts `comparator` which
2197 This method is like `_.zip` except that it accepts an array of grouped
2227 This method is like `_.unzip` except that it accepts `iteratee` to specify
2263 **Note:** Unlike `_.pull`, this method returns a new array.
2317 This method is like `_.xor` except that it accepts `iteratee` which is
2351 This method is like `_.xor` except that it accepts `comparator` which is
2410 This method is like `_.fromPairs` except that it accepts two arrays,
2437 This method is like `_.zipObject` except that it supports property paths.
2463 This method is like `_.zip` except that it accepts `iteratee` to specify
2537 **Note:** This method returns `true` for
2588 **Note:** Unlike `_.remove`, this method returns a new array.
2678 This method is like `_.find` except that it iterates over elements of
2740 This method is like `_.flatMap` except that it recursively flattens the
2771 This method is like `_.flatMap` except that it recursively flattens the
2846 This method is like `_.forEach` except that it iterates over elements of
2952 Invokes the method at `path` of each element in `collection`, returning
2953 an array of the results of each invoked method. Any additional arguments
2954 are provided to each invoked method. If `path` is a function, it's invoked
2962 2. `path` *(Array|Function|string)*: The path of the method to invoke or the function invoked per i…
2963 3. `[args]` *(...&#42;)*: The arguments to invoke each method with.
3079 This method is like `_.sortBy` except that it allows specifying the sort
3213 This method is like `_.reduce` except that it iterates over elements of
3245 The opposite of `_.filter`; this method returns the elements of `collection`
3448 running each element in a collection thru each iteratee. This method
3523 The opposite of `_.before`; this method creates a function that invokes
3621 **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
3661 Creates a function that invokes the method at `object[key]` with `partials`
3665 This method differs from `_.bind` by allowing bound functions to reference
3678 1. `object` *(Object)*: The object to invoke the method on.
3679 2. `key` *(string)*: The key of the method.
3730 **Note:** This method doesn't set the "length" property of curried functions.
3772 This method is like `_.curry` except that arguments are applied to `func`
3780 **Note:** This method doesn't set the "length" property of curried functions.
3824 invoked. The debounced function comes with a `cancel` method to cancel
3825 delayed `func` invocations and a `flush` method to immediately invoke them.
3986 method interface of `clear`, `delete`, `get`, `has`, and `set`.
4133 arguments it receives. This method is like `_.bind` except it does **not**
4141 **Note:** This method doesn't set the "length" property of partially
4178 This method is like `_.partial` except that partially applied arguments
4186 **Note:** This method doesn't set the "length" property of partially
4261 **Note:** This method is based on the
4298 **Note:** This method is based on the
4341 method to cancel delayed `func` invocations and a `flush` method to
4507 **Note:** This method is loosely based on the
4541 This method is like `_.clone` except that it recursively clones `value`.
4569 This method is like `_.cloneWith` except that it recursively clones `value`.
4607 This method is like `_.clone` except that it accepts `customizer` which
4609 cloning is handled by the method instead. The `customizer` is invoked with
4652 **Note:** This method is equivalent to `_.conforms` when `source` is
4917 This method is like `_.isArrayLike` except that it also checks if `value`
5114 **Note:** This method supports comparing arrays, array buffers, booleans,
5150 This method is like `_.isEqual` except that it accepts `customizer` which
5152 are handled by the method instead. The `customizer` is invoked with up to
5225 **Note:** This method is based on
5291 **Note:** This method is based on
5329 **Note:** This method is loosely based on
5396 **Note:** This method is equivalent to `_.matches` when `source` is
5433 This method is like `_.isMatch` except that it accepts `customizer` which
5435 are handled by the method instead. The `customizer` is invoked with five
5479 **Note:** This method is based on
5519 **Note:** This method can't reliably detect native functions in the presence
5616 classified as numbers, use the `_.isFinite` method.
5792 **Note:** This method is based on
6158 **Note:** This method is loosely based on
6197 **Note:** This method is based on
6519 This method is like `_.max` except that it accepts `iteratee` which is
6578 This method is like `_.mean` except that it accepts `iteratee` which is
6641 This method is like `_.min` except that it accepts `iteratee` which is
6784 This method is like `_.sum` except that it accepts `iteratee` which is
6956 **Note:** This method mutates `object` and is loosely based on
6994 This method is like `_.assign` except that it iterates over own and
6998 **Note:** This method mutates `object`.
7038 This method is like `_.assignIn` except that it accepts `customizer`
7040 `undefined`, assignment is handled by the method instead. The `customizer`
7044 **Note:** This method mutates `object`.
7080 This method is like `_.assign` except that it accepts `customizer`
7082 `undefined`, assignment is handled by the method instead. The `customizer`
7086 **Note:** This method mutates `object`.
7198 **Note:** This method mutates `object`.
7224 This method is like `_.defaults` except that it recursively assigns
7228 **Note:** This method mutates `object`.
7254 This method is like `_.find` except that it returns the key of the first
7299 This method is like `_.findKey` except that it iterates over elements of
7382 This method is like `_.forIn` except that it iterates over properties of
7456 This method is like `_.forOwn` except that it iterates over properties of
7698 This method is like `_.invert` except that the inverted object is generated
7735 Invokes the method at `path` of `object`.
7742 2. `path` *(Array|string)*: The path of the method to invoke.
7743 3. `[args]` *(...&#42;)*: The arguments to invoke the method with.
7746 *(&#42;)*: Returns the result of the invoked method.
7839 The opposite of `_.mapValues`; this method creates an object with the
7908 This method is like `_.assign` except that it recursively merges own and
7917 **Note:** This method mutates `object`.
7951 This method is like `_.merge` except that it accepts `customizer` which
7954 method instead. The `customizer` is invoked with six arguments:<br>
7958 **Note:** This method mutates `object`.
7994 The opposite of `_.pick`; this method creates an object composed of the
7998 **Note:** This method is considerably slower than `_.pick`.
8026 The opposite of `_.pickBy`; this method creates an object composed of
8114 This method is like `_.get` except that if the resolved value is a
8160 **Note:** This method mutates `object`.
8194 This method is like `_.set` except that it accepts `customizer` which is
8196 path creation is handled by the method instead. The `customizer` is invoked
8200 **Note:** This method mutates `object`.
8304 An alternative to `_.reduce`; this method transforms `object` to a new
8348 **Note:** This method mutates `object`.
8384 This method is like `_.set` except that accepts `updater` to produce the
8389 **Note:** This method mutates `object`.
8423 This method is like `_.update` except that it accepts `customizer` which is
8425 path creation is handled by the method instead. The `customizer` is invoked
8429 **Note:** This method mutates `object`.
8539 Creates a `lodash` object which wraps `value` to enable implicit method
8564 Chaining is supported in custom builds as long as the `_#value` method is
8597 `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
8675 Creates a `lodash` wrapper instance that wraps `value` with explicit method
8715 This method invokes `interceptor` and returns `value`. The interceptor
8716 is invoked with one argument; *(value)*. The purpose of this method is to
8717 "tap into" a method chain sequence in order to modify intermediate results.
8749 This method is like `_.tap` except that it returns the result of `interceptor`.
8750 The purpose of this method is to "pass thru" values replacing intermediate
8751 results in a method chain sequence.
8810 This method is the wrapper version of `_.at`.
8837 Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
8974 This method is the wrapper version of `_.reverse`.
8977 **Note:** This method mutates the wrapped array.
9420 **Note:** This method aligns with the
9485 **Note:** This method is based on
9548 **Note:** This method is based on
9954 The inverse of `_.escape`; this method converts the HTML entities
10113 method.
10116 **Note:** This method doesn't set the "length" property of bound functions.
10123 2. `methodNames` *(...(string|string&#91;&#93;))*: The object method names to bind.
10319 This method is like `_.flow` except that it creates a function that
10350 This method returns the first argument it receives.
10506 <h3 id="_methodpath-args"><code>_.method(path, [args])</code></h3>
10507 …L15621 "View in source") [&#x24C3;](https://www.npmjs.com/package/lodash.method "See the npm packa…
10509 Creates a function that invokes the method at `path` of a given object.
10510 Any additional arguments are provided to the invoked method.
10516 1. `path` *(Array|string)*: The path of the method to invoke.
10517 2. `[args]` *(...&#42;)*: The arguments to invoke the method with.
10529 _.map(objects, _.method('a.b'));
10532 _.map(objects, _.method(['a', 'b']));
10544 The opposite of `_.method`; this method creates a function that invokes
10545 the method at a given path of `object`. Any additional arguments are
10546 provided to the invoked method.
10553 2. `[args]` *(...&#42;)*: The arguments to invoke the method with.
10648 This method returns `undefined`.
10827 The opposite of `_.property`; this method creates a function that returns
10911 This method is like `_.range` except that it populates values in
10997 This method returns a new empty array.
11024 This method returns `false`.
11046 This method returns a new empty object.
11073 This method returns an empty string.
11095 This method returns `true`.