0.1.1 • Published 3 years ago
@annexe/array v0.1.1
@annexe/array
@annexe/array houses all annexe array methods under the array namespace.
Methods
The following are available methods under the array namespace:
- first
- last
- head
- tail
- reverse
- isTypedArray
Usage
import array from '@annexe/array';
const myArray = [1, 2, 3, 4, 5];
const firstVal = array.first(myArray);
console.log(firstVal); // logs 1
0.1.1
3 years ago