@annexe/array
v0.1.1
Published
All annexe array methods under namespace "array".
Downloads
3
Readme
@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