utils-indexof
Returns the first index at which a given element can be found.
Found 118 results for array-like
Returns the first index at which a given element can be found.
Return a function which tests if every element in an array-like object passes a test condition.
Test if a value is array-like.
Return the first index at which a given element can be found.
Test if a value is an array-like object of numbers.
Test if a value is an arguments object.
Given an array, pick a random element and return it.
Checks if the given value is an array or array-like object.
Test if a value is an array-like object.
Converts value to an integer suitable for use as the length of an array-like object.
Test if an array-like value contains a search value.
Checks if the given value is a valid array-like index.
Casts an array to an array of a different data type.
Generate a frequency table.
Checks entity if array, arguments, iterable or array-like.
Convert entity to Array instance.
Group values according to an indicator function and return group counts.
Cross-browser array-like slicer.
Create a minimal array-like object supporting the accessor protocol from another array-like object.
Test if a value is an array-like object containing only functions.
Functions to check if a value is something alike.
Enhanced Array-like Objects support, Array iteration methods for plain Objects and more
Convert an array-like object to a minimal array-like object supporting the accessor protocol.
converts arguments or any other array-like object into an array starting from specific index.
Group values as arrays associated with distinct keys.
Checks if the given value is a valid array-like length.
Iterates through arguments or any other array-like object starting from specific index.
Converts primitives and objects (plain or array-like) to a sensible array representation for Node.js and the browser.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Invoke a function for each element in a collection and update the collection in-place.
Until a test condition is true, invoke a function for each element in a collection.
Remove and return the last element of a collection.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Split values into two groups.
Group values according to an indicator function.
Invoke a function for each element in a collection and update the collection in-place.
Invoke a function once for each element in a collection, iterating from right to left.
Generate a frequency table according to an indicator function.
Split values into two groups according to a predicate function.
Test whether all elements in a collection pass a test implemented by a predicate function.
While a test condition is true, invoke a function for each element in a collection.
Add elements from one collection to the beginning of another collection.
While a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Apply a function against an accumulator and each element in a collection and return the accumulated result.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Test whether all elements in a collection pass a test implemented by a predicate function.
Test whether a collection contains at least `n` elements which are truthy.
Test if a value is an array-like object containing only truthy values.
Create a readable stream from an array-like object.
Invoke a function once for each element in a collection.
Add one or more elements to the beginning of a collection.
Test whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.
Test whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.
Test whether at least one element in a collection passes a test implemented by a predicate function.
Group values according to an indicator function and return group counts.
Test if a value is an array-like object containing only falsy values.
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Create a readable stream from a strided array-like object.
Test whether a collection contains `n` elements which pass a test implemented by a predicate function.
Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.
Test if a value is an array-like object containing only symbols.
Test whether all elements in a collection are falsy.
While a test condition is true, invoke a function for each element in a collection.
Fill an array-like object view from right to left with values returned from an iterator.
Add elements from one collection to the end of another collection.
Remove and return the first element of a collection.
Test whether all elements in a collection are truthy.
Group values according to an indicator function.
Generate a frequency table according to an indicator function.
Fill an array-like object view with values returned from an iterator.
Test whether at least one element in a collection passes a test implemented by a predicate function.
While a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Split values into two groups according to a predicate function.
Test if a value is an array-like object where every element is between two values.
Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values, iterating from right to left.
Test whether at least one element in a collection passes a test implemented by a predicate function, iterating from right to left.
Test whether all elements in a collection fail a test implemented by a predicate function.
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.
Until a test condition is true, invoke a function for each element in a collection.
Test whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.
Invoke a function for each element in a collection.
Invoke a function for each element in a collection, iterating from right to left.
Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values.
Test whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.
Create a readable stream from a circular array-like object.
Test whether all elements in a collection fail a test implemented by a predicate function.
Test if a value is an empty array-like object.
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.
Test whether at least one element in a collection is truthy.
Test whether at least one element in a collection passes a test implemented by a predicate function, iterating from right to left.
Add one or more elements to the end of a collection.
Reduce the number of dimensions by one of a two-dimensional nested array by applying a function against an accumulator and each element along the innermost dimension and returning the accumulation results as a one-dimensional array.
Implements array-like methods for Object with support for dot notation keys
Minimalist set theory operations for Array-like objects in less than 1KB
Flatten an array or array-like objects
Apply a function against an accumulator and each element in an array and return the accumulated result.
Apply a function against an accumulator and each element in an array while iterating from right to left and return the accumulated result.
Get the size of a value.
Validates if a value is an arguments object.
Given an array, pick some random elements and return them in a new array.
check whether an object is an array-like object
Create an array-like object.
Perform a single-pass map-reduce operation against each element in an array while iterating from right to left and return the accumulated result.
Perform a single-pass map-reduce operation against each element in an array and return the accumulated result.
Creates a slice of array with n elements dropped from the end.
check if an object can be used like an Array. 判断一个对象能否像数组一样使用,即是否为数组或类数组对象
Casts an array to an array of a different data type.
A lightweight package that transforms any key-value database into an indexed, log-structured database.
Creates a slice of array with n elements dropped from the beginning.
Provides functions to operate on Sets, Arrays and Array-Like JavaScript data structures
callable array
Determine if a value is array-like. Fork of https://github.com/gearcase/is-array-like.
Test whether an object contains at least n properties (own and inherited) which pass a test implemented by a predicate function.
An inheritable Class that behaves like an Array
Comparesion of Subarrays of Two Arrays
Creates an Array from a slice of an Array-like object
Throw TypeError if not a value is array-like. The undefined value always evaluates to true.