Lines Matching refs:is

542 This method is like `_.difference` except that it accepts `iteratee` which
543 is invoked for each element of `array` and `values` to generate the criterion
545 determined by the first array. The iteratee is invoked with one argument:<br>
580 This method is like `_.difference` except that it accepts `comparator`
581 which is invoked to compare elements of `array` to `values`. The order and
583 is invoked with two arguments: *(arrVal, othVal)*.
686 Elements are dropped until `predicate` returns falsey. The predicate is
732 Elements are dropped until `predicate` returns falsey. The predicate is
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
1048 Gets the index at which the first occurrence of `value` is found in `array`
1050 for equality comparisons. If `fromIndex` is negative, it's used as the
1135 This method is like `_.intersection` except that it accepts `iteratee`
1136 which is invoked for each element of each `arrays` to generate the criterion
1138 determined by the first array. The iteratee is invoked with one argument:<br>
1169 This method is like `_.intersection` except that it accepts `comparator`
1170 which is invoked to compare elements of `arrays`. The order and references
1171 of result values are determined by the first array. The comparator is
1252 This method is like `_.indexOf` except that it iterates over elements of
1284 Gets the element at index `n` of `array`. If `n` is negative, the nth
1285 element from the end is returned.
1351 This method is like `_.pull` except that it accepts an array of values to remove.
1383 This method is like `_.pullAll` except that it accepts `iteratee` which is
1385 by which they're compared. The iteratee is invoked with one argument: *(value)*.
1418 This method is like `_.pullAll` except that it accepts `comparator` which
1419 is invoked to compare elements of `array` to `values`. The comparator is
1490 and returns an array of the removed elements. The predicate is invoked
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`
1619 which is invoked for `value` and each element of `array` to compute their
1620 sort ranking. The iteratee is invoked with one argument: *(value)*.
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`
1709 which is invoked for `value` and each element of `array` to compute their
1710 sort ranking. The iteratee is invoked with one argument: *(value)*.
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
1919 taken until `predicate` returns falsey. The predicate is invoked with
1965 are taken until `predicate` returns falsey. The predicate is invoked with
2037 This method is like `_.union` except that it accepts `iteratee` which is
2039 which uniqueness is computed. Result values are chosen from the first
2040 array in which the value occurs. The iteratee is invoked with one argument:<br>
2071 This method is like `_.union` except that it accepts `comparator` which
2072 is invoked to compare elements of `arrays`. Result values are chosen from
2073 the first array in which the value occurs. The comparator is invoked
2106 is kept. The order of result values is determined by the order they occur
2132 This method is like `_.uniq` except that it accepts `iteratee` which is
2134 uniqueness is computed. The order of result values is determined by the
2135 order they occur in the array. The iteratee is invoked with one argument:<br>
2166 This method is like `_.uniq` except that it accepts `comparator` which
2167 is invoked to compare elements of `array`. The order of result values is
2168 determined by the order they occur in the array.The comparator is invoked
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
2228 how regrouped values should be combined. The iteratee is invoked with the
2289 Creates an array of unique values that is the
2291 of the given arrays. The order of result values is determined by the order
2317 This method is like `_.xor` except that it accepts `iteratee` which is
2319 which by which they're compared. The order of result values is determined
2320 by the order they occur in the arrays. The iteratee is invoked with one
2351 This method is like `_.xor` except that it accepts `comparator` which is
2352 invoked to compare elements of `arrays`. The order of result values is
2353 determined by the order they occur in the arrays. The comparator is invoked
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
2464 how grouped values should be combined. The iteratee is invoked with the
2501 each key is the number of times the key was returned by `iteratee`. The
2502 iteratee is invoked with one argument: *(value)*.
2533 Iteration is stopped once `predicate` returns falsey. The predicate is
2539 [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
2584 `predicate` returns truthy for. The predicate is invoked with three
2632 `predicate` returns truthy for. The predicate is invoked with three
2678 This method is like `_.find` except that it iterates over elements of
2709 thru `iteratee` and flattening the mapped results. The iteratee is invoked
2740 This method is like `_.flatMap` except that it recursively flattens the
2771 This method is like `_.flatMap` except that it recursively flattens the
2804 The iteratee is invoked with three arguments: *(value, index|key, collection)*.
2835 // => Logs 'a' then 'b' (iteration order is not guaranteed).
2846 This method is like `_.forEach` except that it iterates over elements of
2880 is determined by the order they occur in `collection`. The corresponding
2881 value of each key is an array of elements responsible for generating the
2882 key. The iteratee is invoked with one argument: *(value)*.
2912 Checks if `value` is in `collection`. If `collection` is a string, it's
2915 is used for equality comparisons. If `fromIndex` is negative, it's used as
2927 *(boolean)*: Returns `true` if `value` is found, else `false`.
2954 are provided to each invoked method. If `path` is a function, it's invoked
2987 each key is the last element responsible for generating the key. The
2988 iteratee is invoked with one argument: *(value)*.
3025 `iteratee`. The iteratee is invoked with three arguments:<br>
3059 // => [16, 64] (iteration order is not guaranteed)
3079 This method is like `_.sortBy` except that it allows specifying the sort
3080 orders of the iteratees to sort by. If `orders` is unspecified, all values
3119 contains elements `predicate` returns falsey for. The predicate is
3164 Reduces `collection` to a value which is the accumulated result of running
3166 invocation is supplied the return value of the previous. If `accumulator`
3167 is not given, the first element of `collection` is used as the initial
3168 value. The iteratee is invoked with four arguments:<br>
3202 // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
3213 This method is like `_.reduce` except that it iterates over elements of
3403 Iteration is stopped once `predicate` returns truthy. The predicate is
3449 performs a stable sort, that is, it preserves the original sort order of
3530 1. `n` *(number)*: The number of calls before `func` is invoked.
3593 1. `n` *(number)*: The number of calls at which `func` is no longer invoked.
3723 is not sufficient.
3772 This method is like `_.curry` except that arguments are applied to `func`
3827 leading and/or trailing edge of the `wait` timeout. The `func` is invoked
3833 **Note:** If `leading` and `trailing` options are `true`, `func` is
3835 is invoked more than once during the `wait` timeout.
3838 If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
3853 5. `[options.maxWait]` *(number)*: The maximum time `func` is allowed to be delayed before it's inv…
3861 // Avoid costly calculations while the window size is in flux.
3870 // Ensure `batchLog` is invoked once after 1 second of debounced calls.
3975 Creates a function that memoizes the result of `func`. If `resolver` is
3978 provided to the memoized function is used as the map cache key. The `func`
3979 is invoked with the `this` binding of the memoized function.
3982 **Note:** The cache is exposed as the `cache` property on the memoized
4032 `func` predicate is invoked with the `this` binding and arguments of the
4062 Creates a function that is restricted to invoking `func` once. Repeat calls
4063 to the function return the value of the first invocation. The `func` is
4080 // => `createApplication` is invoked once
4133 arguments it receives. This method is like `_.bind` except it does **not**
4178 This method is like `_.partial` except that partially applied arguments
4224 to the specified `indexes` where the argument value at the first index is
4225 provided as the first argument, the argument value at the second index is
4261 **Note:** This method is based on the
4298 **Note:** This method is based on the
4344 timeout. The `func` is invoked with the last arguments provided to the
4349 **Note:** If `leading` and `trailing` options are `true`, `func` is
4351 is invoked more than once during the `wait` timeout.
4354 If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
4379 // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
4423 to those provided to the `wrapper`. The wrapper is invoked with the `this`
4507 **Note:** This method is loosely based on the
4512 as plain objects. An empty object is returned for uncloneable values such
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
4608 is invoked to produce the cloned value. If `customizer` returns `undefined`,
4609 cloning is handled by the method instead. The `customizer` is invoked with
4652 **Note:** This method is equivalent to `_.conforms` when `source` is
4727 Checks if `value` is greater than `other`.
4737 *(boolean)*: Returns `true` if `value` is greater than `other`, else `false`.
4759 Checks if `value` is greater than or equal to `other`.
4769 *(boolean)*: Returns `true` if `value` is greater than or equal to `other`, else `false`.
4791 Checks if `value` is likely an `arguments` object.
4800 *(boolean)*: Returns `true` if `value` is an `arguments` object, else `false`.
4819 Checks if `value` is classified as an `Array` object.
4828 *(boolean)*: Returns `true` if `value` is an array, else `false`.
4853 Checks if `value` is classified as an `ArrayBuffer` object.
4862 *(boolean)*: Returns `true` if `value` is an array buffer, else `false`.
4881 Checks if `value` is array-like. A value is considered array-like if it's
4892 *(boolean)*: Returns `true` if `value` is array-like, else `false`.
4917 This method is like `_.isArrayLike` except that it also checks if `value`
4918 is an object.
4927 *(boolean)*: Returns `true` if `value` is an array-like object, else `false`.
4952 Checks if `value` is classified as a boolean primitive or object.
4961 *(boolean)*: Returns `true` if `value` is a boolean, else `false`.
4980 Checks if `value` is a buffer.
4989 *(boolean)*: Returns `true` if `value` is a buffer, else `false`.
5008 Checks if `value` is classified as a `Date` object.
5017 *(boolean)*: Returns `true` if `value` is a date object, else `false`.
5036 Checks if `value` is likely a DOM element.
5045 *(boolean)*: Returns `true` if `value` is a DOM element, else `false`.
5064 Checks if `value` is an empty object, collection, map, or set.
5082 *(boolean)*: Returns `true` if `value` is empty, else `false`.
5150 This method is like `_.isEqual` except that it accepts `customizer` which
5151 is invoked to compare values. If `customizer` returns `undefined`, comparisons
5152 are handled by the method instead. The `customizer` is invoked with up to
5193 Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
5203 *(boolean)*: Returns `true` if `value` is an error object, else `false`.
5222 Checks if `value` is a finite primitive number.
5225 **Note:** This method is based on
5235 *(boolean)*: Returns `true` if `value` is a finite number, else `false`.
5260 Checks if `value` is classified as a `Function` object.
5269 *(boolean)*: Returns `true` if `value` is a function, else `false`.
5288 Checks if `value` is an integer.
5291 **Note:** This method is based on
5301 *(boolean)*: Returns `true` if `value` is an integer, else `false`.
5326 Checks if `value` is a valid array-like length.
5329 **Note:** This method is loosely based on
5339 *(boolean)*: Returns `true` if `value` is a valid length, else `false`.
5364 Checks if `value` is classified as a `Map` object.
5373 *(boolean)*: Returns `true` if `value` is a map, else `false`.
5396 **Note:** This method is equivalent to `_.matches` when `source` is
5412 *(boolean)*: Returns `true` if `object` is a match, else `false`.
5433 This method is like `_.isMatch` except that it accepts `customizer` which
5434 is invoked to compare values. If `customizer` returns `undefined`, comparisons
5435 are handled by the method instead. The `customizer` is invoked with five
5447 *(boolean)*: Returns `true` if `object` is a match, else `false`.
5476 Checks if `value` is `NaN`.
5479 **Note:** This method is based on
5480 [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
5491 *(boolean)*: Returns `true` if `value` is `NaN`, else `false`.
5516 Checks if `value` is a pristine native function.
5534 *(boolean)*: Returns `true` if `value` is a native function, else `false`.
5553 Checks if `value` is `null` or `undefined`.
5562 *(boolean)*: Returns `true` if `value` is nullish, else `false`.
5584 Checks if `value` is `null`.
5593 *(boolean)*: Returns `true` if `value` is `null`, else `false`.
5612 Checks if `value` is classified as a `Number` primitive or object.
5625 *(boolean)*: Returns `true` if `value` is a number, else `false`.
5650 Checks if `value` is the
5661 *(boolean)*: Returns `true` if `value` is an object, else `false`.
5686 Checks if `value` is object-like. A value is object-like if it's not `null`
5696 *(boolean)*: Returns `true` if `value` is object-like, else `false`.
5721 Checks if `value` is a plain object, that is, an object created by the
5731 *(boolean)*: Returns `true` if `value` is a plain object, else `false`.
5760 Checks if `value` is classified as a `RegExp` object.
5769 *(boolean)*: Returns `true` if `value` is a regexp, else `false`.
5788 Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
5792 **Note:** This method is based on
5802 *(boolean)*: Returns `true` if `value` is a safe integer, else `false`.
5827 Checks if `value` is classified as a `Set` object.
5836 *(boolean)*: Returns `true` if `value` is a set, else `false`.
5855 Checks if `value` is classified as a `String` primitive or object.
5864 *(boolean)*: Returns `true` if `value` is a string, else `false`.
5883 Checks if `value` is classified as a `Symbol` primitive or object.
5892 *(boolean)*: Returns `true` if `value` is a symbol, else `false`.
5911 Checks if `value` is classified as a typed array.
5920 *(boolean)*: Returns `true` if `value` is a typed array, else `false`.
5939 Checks if `value` is `undefined`.
5948 *(boolean)*: Returns `true` if `value` is `undefined`, else `false`.
5967 Checks if `value` is classified as a `WeakMap` object.
5976 *(boolean)*: Returns `true` if `value` is a weak map, else `false`.
5995 Checks if `value` is classified as a `WeakSet` object.
6004 *(boolean)*: Returns `true` if `value` is a weak set, else `false`.
6023 Checks if `value` is less than `other`.
6033 *(boolean)*: Returns `true` if `value` is less than `other`, else `false`.
6055 Checks if `value` is less than or equal to `other`.
6065 *(boolean)*: Returns `true` if `value` is less than or equal to `other`, else `false`.
6158 **Note:** This method is loosely based on
6197 **Note:** This method is based on
6336 Converts `value` to a string. An empty string is returned for `null`
6337 and `undefined` values. The sign of `-0` is preserved.
6490 Computes the maximum value of `array`. If `array` is empty or falsey,
6491 `undefined` is returned.
6519 This method is like `_.max` except that it accepts `iteratee` which is
6521 the value is ranked. The iteratee is invoked with one argument: *(value)*.
6578 This method is like `_.mean` except that it accepts `iteratee` which is
6580 The iteratee is invoked with one argument: *(value)*.
6612 Computes the minimum value of `array`. If `array` is empty or falsey,
6613 `undefined` is returned.
6641 This method is like `_.min` except that it accepts `iteratee` which is
6643 the value is ranked. The iteratee is invoked with one argument: *(value)*.
6784 This method is like `_.sum` except that it accepts `iteratee` which is
6786 The iteratee is invoked with one argument: *(value)*.
6854 Checks if `n` is between `start` and up to, but not including, `end`. If
6855 `end` is not specified, it's set to `start` with `start` then set to `0`.
6856 If `start` is greater than `end` the params are swapped to support
6868 *(boolean)*: Returns `true` if `number` is in the range, else `false`.
6903 If only one argument is provided a number between `0` and the given number
6904 is returned. If `floating` is `true`, or either `lower` or `upper` are
6905 floats, a floating-point number is returned instead of an integer.
6956 **Note:** This method mutates `object` and is loosely based on
6994 This method is like `_.assign` except that it iterates over own and
7038 This method is like `_.assignIn` except that it accepts `customizer`
7039 which is invoked to produce the assigned values. If `customizer` returns
7040 `undefined`, assignment is handled by the method instead. The `customizer`
7041 is invoked with five arguments: *(objValue, srcValue, key, object, source)*.
7080 This method is like `_.assign` except that it accepts `customizer`
7081 which is invoked to produce the assigned values. If `customizer` returns
7082 `undefined`, assignment is handled by the method instead. The `customizer`
7083 is invoked with five arguments: *(objValue, srcValue, key, object, source)*.
7148 `properties` object is given, its own enumerable string keyed properties
7195 Once a property is set, additional values of the same property are ignored.
7224 This method is like `_.defaults` except that it recursively assigns
7254 This method is like `_.find` except that it returns the key of the first
7276 // => 'barney' (iteration order is not guaranteed)
7299 This method is like `_.findKey` except that it iterates over elements of
7345 object and invokes `iteratee` for each property. The iteratee is invoked
7371 // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
7382 This method is like `_.forIn` except that it iterates over properties of
7419 invokes `iteratee` for each property. The iteratee is invoked with three
7445 // => Logs 'a' then 'b' (iteration order is not guaranteed).
7456 This method is like `_.forOwn` except that it iterates over properties of
7558 Gets the value at `path` of `object`. If the resolved value is
7559 `undefined`, the `defaultValue` is returned in its place.
7594 Checks if `path` is a direct property of `object`.
7632 Checks if `path` is a direct or inherited property of `object`.
7698 This method is like `_.invert` except that the inverted object is generated
7700 corresponding inverted value of each inverted key is an array of keys
7701 responsible for generating the inverted value. The iteratee is invoked
7790 // => ['a', 'b'] (iteration order is not guaranteed)
7828 // => ['a', 'b', 'c'] (iteration order is not guaranteed)
7841 string keyed property of `object` thru `iteratee`. The iteratee is invoked
7872 `iteratee`. The iteratee is invoked with three arguments:<br>
7893 // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
7897 // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
7908 This method is like `_.assign` except that it recursively merges own and
7951 This method is like `_.merge` except that it accepts `customizer` which
7952 is invoked to produce the merged values of the destination and source
7953 properties. If `customizer` returns `undefined`, merging is handled by the
7954 method instead. The `customizer` is invoked with six arguments:<br>
7998 **Note:** This method is considerably slower than `_.pick`.
8028 `predicate` doesn't return truthy for. The predicate is invoked with two
8086 truthy for. The predicate is invoked with two arguments: *(value, key)*.
8114 This method is like `_.get` except that if the resolved value is a
8116 its result is returned.
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
8231 which can be consumed by `_.fromPairs`. If `object` is a map or set, its
8256 // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
8268 for `object` which can be consumed by `_.fromPairs`. If `object` is a map
8293 // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
8305 `accumulator` object which is the result of running each of its own
8307 potentially mutating the `accumulator` object. If `accumulator` is not
8309 iteratee is invoked with four arguments: *(accumulator, value, key, object)*.
8358 *(boolean)*: Returns `true` if the property is deleted, else `false`.
8384 This method is like `_.set` except that accepts `updater` to produce the
8386 is invoked with one argument: *(value)*.
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
8483 // => [1, 2] (iteration order is not guaranteed)
8522 // => [1, 2, 3] (iteration order is not guaranteed)
8551 The execution of chained methods is lazy, that is, it's deferred until
8552 `_#value` is implicitly or explicitly called.
8556 Shortcut fusion is an optimization to merge iteratee calls; this avoids
8559 fusion if the section is applied to an array and iteratees accept only
8561 fusion is subject to change.
8564 Chaining is supported in custom builds as long as the `_#value` method is
8700 return o.user + ' is ' + o.age;
8704 // => 'pebbles is 1'
8716 is invoked with one argument; *(value)*. The purpose of this method is to
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
8810 This method is the wrapper version of `_.at`.
8974 This method is the wrapper version of `_.reverse`.
9162 Though the ">" character is escaped for symmetry, characters like
9415 Converts `string` to an integer of the specified radix. If `radix` is
9416 `undefined` or `0`, a `radix` of `10` is used unless `value` is a
9417 hexadecimal, in which case a `radix` of `16` is used.
9485 **Note:** This method is based on
9548 **Note:** This method is based on
9645 object is given, it takes precedence over `_.templateSettings` values.
9917 4. `[options.omission='...']` *(string)*: The string to indicate text is omitted.
10195 **Note:** The created function is equivalent to `_.conformsTo` with
10257 its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
10289 invocation is supplied the return value of the previous.
10319 This method is like `_.flow` except that it creates a function that
10378 function. If `func` is a property name, the created function returns the
10379 property value for a given element. If `func` is an array or object, the
10435 **Note:** The created function is equivalent to `_.isMatch` with `source`
10473 object value is equivalent, else `false`.
10579 object to the destination object. If `object` is a function, then methods
10667 Creates a function that gets the argument at index `n`. If `n` is negative,
10668 the nth argument from the end is returned.
10860 `start` up to, but not including, `end`. A step of `-1` is used if a negative
10861 `start` is specified without an `end` or `step`. If `end` is not specified,
10911 This method is like `_.range` except that it populates values in
11118 each invocation. The iteratee is invoked with one argument; *(index)*.
11175 Generates a unique ID. If `prefix` is given, the ID is appended to it.