array-last
Array extractor
Returns the last element(s) in an array
Return the last element in an array. Faster than .slice
35 stars
4 watching
14 forks
Language: JavaScript
last commit: about 3 years ago
Linked from 1 awesome list
arrayelementjavascriptlastnodenodejsslice
Related projects:
Repository | Description | Stars |
---|---|---|
| Returns one or more elements from the beginning of an array | 11 |
| Returns true if a value exists in an array without searching the entire array or handling null values | 16 |
| Returns an array with unique values from multiple arrays using strict equality comparisons | 46 |
| Utility function to flatten arrays by recursively iterating over their elements | 60 |
| A polyfill for Array.isArray to support older browsers and Node.js versions. | 132 |
| Tools to normalize package.json data for better compatibility and readability | 18 |
| Finds the position of a specified element in an array | 15 |
| A utility library that provides a simple way to access nested properties of objects using dot notation. | 247 |
| Utility function to check if a value is a number or string representation of a number | 262 |
| Polyfills ES6 Array.prototype.findIndex for older environments | 28 |
| Extracts structured variables from Sass files and makes them available in JavaScript for use in styles or dynamic content. | 186 |
| Converts key-value pairs of an object into a sorted array of key-value pairs | 4 |
| Binds a context to all functions in an object and its nested functions | 9 |
| Fills ES6 Array.prototype.find method in older environments | 38 |
| A React wrapper for a popular JavaScript data visualization library | 18 |