README
array-firstof
NOTE: array-firstof was renamed to @extra-array/first.
Get first value of array.
const firstOf = require('array-firstof');
// firstOf(<array>, [index=0])
firstOf(['g', 'a', 'r', 'f', 'i', 'e', 'l', 'd']);
// 'g'
firstOf(['o', 'd', 'i', 'e'], 2);
// 'i'