0.1.1 • Published 3 years ago

@annexe/array v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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