Search results
405 packages found
Get a random item from a list
returns a random item in an Array
Returns a random item from an array.
Validate the type of array's items.
Recursively run callback function on each item in an array
Binary sorted array. Implements array initialization, insertion, finding index of element, item removal, clearing the array.
Checks whether a value is an array with more than zero items
Splits array into groups of n items each
Removes an item from a specific position.
A utility to pick random elements from an array
Returns an array of the non-null results of fn(item, index). This means false return values will be included.
Returns a new array, where an item is inserted at a specific position.
Seedable random number generator supporting many common distributions.
- alea
- arr
- array
- bates
- d3-random
- distribution
- el
- element
- exponential
- fisher
- gaussian
- generate
- generate-random-numbers
- generator
- View more
Moves an item the array to the end of the array.
Allows to put arrays into sets. Works similarly like ES6 Sets.
Recursively run callback function on each item in an array
RapidOM schema validator
- rapid
- object
- model
- rapidom
- javascript
- typescript
- schema
- validation
- default
- required
- array
- min
- max
- length
- View more
Determine if an item is contained in a list.
Find duplicate item from two array
Group arrays by complex keys into polymorphic structures