1.0.2 • Published 5 years ago

@writetome51/array-get-all-after-before-first v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

This has 2 functions:

This returns everything in the array after the first instance of value:

getAllAfterFirst(value, array);

This returns everything in the array before the first instance of value:

getAllBeforeFirst(value, array);