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