Search results
90 packages found
Simple function that return the first non null or undefined argument
A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.
Pass an array of object paths (e.g. `a.b.c`) and get the first non-undefined value if the property exists, or null if it does not.
Return the first UTF-16 code unit of a string.
Return the first iterated value.
Return the first character(s) of a string.
Remove the first UTF-16 code unit of a string.
Remove the first character(s) of a string.
Return the first Unicode code point of a string.
Return the first grapheme cluster (i.e., user-perceived character) of a string.
Remove the first grapheme cluster (i.e., user-perceived character) of a string.
Remove the first Unicode code point of a string.
Get the last or last n elements in an array.
Gets the first `n` items of an array.
Return the first index at which a given element can be found.
Return the first character(s) of a string.
Remove the first character(s) of a string.
First-in-first-out (FIFO) queue.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- data structures
- data structure
- data
- structure
- collection
- queue
- first-in
- View more
Like a stack, the queue is a linear data structure that stores items in either a First In First Out (FIFO) or Last In First Out (LIFO) manner. With FIFO, the least recently added item is removed first, while with LIFO, the most recently added item is remo
- flag
- move
- babel
- callbind
- Push
- defineProperty
- phone
- command
- stateless
- RegExp.prototype.flags
- typedarray
- String.prototype.trim
- call-bind
- negative
- View more
"Get the first element or first n elements of an array.Study from jonschlinkert/array-first