utils-indexof
Returns the first index at which a given element can be found.
Found 119 results for array-like
Returns the first index at which a given element can be found.
Given an array, pick a random element and return it.
Return the first index at which a given element can be found.
Test if a value is an arguments object.
Checks if the given value is an array or array-like object.
Return a function which tests if every element in an array-like object passes a test condition.
Test if a value is array-like.
Test if a value is an array-like object.
Test if a value is an array-like object of numbers.
Checks if the given value is a valid array-like index.
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.
Casts an array to an array of a different data type.
Group values according to an indicator function and return group counts.
XyPriss is a lightweight, TypeScript-first, open-source Node.js web framework crafted for developers seeking a familiar Express-like API without Express dependencies. It features built-in security middleware, a robust routing system, and performance optim
Generate a frequency table.
Cross-browser array-like slicer.
Create a minimal array-like object supporting the accessor protocol from another array-like object.
Functions to check if a value is something alike.
Convert an array-like object to a minimal array-like object supporting the accessor protocol.
XyPriss Security is an advanced JavaScript security library designed for enterprise applications. It provides military-grade encryption, secure data structures, quantum-resistant cryptography, and comprehensive security utilities for modern web applicatio
Checks entity if array, arguments, iterable or array-like.
Convert entity to Array instance.
Enhanced Array-like Objects support, Array iteration methods for plain Objects and more
Test if a value is an array-like object containing only functions.
XyPriss Security is an advanced JavaScript security library designed for enterprise applications. It provides military-grade encryption, secure data structures, quantum-resistant cryptography, and comprehensive security utilities for modern web applicatio
Checks if the given value is a valid array-like length.
converts arguments or any other array-like object into an array starting from specific index.
Converts primitives and objects (plain or array-like) to a sensible array representation for Node.js and the browser.
Minimalist set theory operations for Array-like objects in less than 1KB
Iterates through arguments or any other array-like object starting from specific index.
Group values as arrays associated with distinct keys.
Flatten an array or array-like objects
Validates if a value is an arguments object.
Invoke a function for each element in a collection and update the collection in-place.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
Implements array-like methods for Object with support for dot notation keys
Apply a function against an accumulator and each element in a collection and return the accumulated result.
Given an array, pick some random elements and return them in a new array.
Group values according to an indicator function and return group counts.
Test if a value is an array-like object containing only falsy values.
Until a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Get the size of a value.
Apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.
Invoke a function once for each element in a collection, iterating from right to left.
Test whether a collection contains `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.
Fill an array-like object view from right to left with values returned from an iterator.
Invoke a function for each element in a collection and update the collection in-place.
While a test condition is true, invoke a function for each element in a collection, iterating from right to left.
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function, iterating from right to left.
Test if a value is an array-like object containing only truthy values.
Invoke a function for each element in a collection, iterating from right to left.
Test if a value is an array-like object where every element is between two values.
Create a readable stream from a circular array-like object.
Invoke a function once for each element in a collection.
While a test condition is true, invoke a function for each element in a collection.
Split values into two groups.
Add elements from one collection to the beginning of another 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.
Create an array-like object.
Invoke a function for each element in a collection.
Fill an array-like object view with values returned from an iterator.
Casts an array to an array of a different data type.
Create a readable stream from an array-like object.
Test if a value is an array-like object containing only symbols.
Apply a function against an accumulator and each element in an array and return the accumulated result.
Invoke a function for each element in a collection and update the collection in-place, iterating from right to left.
check if an object can be used like an Array. 判断一个对象能否像数组一样使用,即是否为数组或类数组对象
Test whether at least one element in a collection passes a test implemented by a predicate function.
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.
Until a test condition is true, invoke a function for each element in a collection.
Generate a frequency table according to an indicator function.
Test whether all elements in a collection fail a test implemented by a predicate function.
Split values into two groups according to a predicate function.
Provides functions to operate on Sets, Arrays and Array-Like JavaScript data structures
Apply a function against an accumulator and each element in an array while iterating from right to left and return the accumulated result.
Split values into two groups according to a predicate function.
Group values according to an indicator function.
Test whether all elements in a collection pass a test implemented by a predicate function.
An inheritable Class that behaves like an Array
Add one or more elements to the end of a collection.
Comparesion of Subarrays of Two Arrays
Creates a slice of array with n elements dropped from the beginning.
Perform a single-pass map-reduce operation against each element in an array and return the accumulated result.
Create a readable stream from a strided array-like object.
Test whether all elements in a collection are falsy.
callable array
Generate a frequency table according to an indicator function.
Test if a value is an empty array-like object.
Group values according to an indicator function.
Test whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.
Creates a slice of array with n elements dropped from the end.
Test whether all elements in a collection fail a test implemented by a predicate function.
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 pass a test implemented by a predicate function.
Test whether at least one element in a collection passes a test implemented by a predicate function.
Creates an Array from a slice of an Array-like object
Test whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.
Test whether all elements in a collection are truthy.
Add one or more elements to the beginning of a collection.
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 is truthy.
Add elements from one collection to the end of another collection.
Perform a single-pass map-reduce operation against each element in an array while iterating from right to left and return the accumulated result.
A lightweight package that transforms any key-value database into an indexed, log-structured database.
check whether an object is an array-like object
Test whether a collection contains at least `n` elements which pass a test implemented by a predicate function.
While a test condition is true, invoke a function for each element in a collection.
Remove and return the first element of a collection.
Test whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.
While a test condition is true, invoke a function for each element in a collection, 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 an object contains at least n properties (own and inherited) which pass a test implemented by a predicate function.
Remove and return the last element of a collection.
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 a collection contains at least `n` elements which are truthy.
Convert a collection to an object whose keys are determined by a provided function and whose values are the collection values.
Until a test condition is true, invoke a function for each element in a collection.