1.0.2 • Published 5 years ago

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

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

getAllAfterLast(value, array): any[]

Returns all items after the last instance of value in array.
Does not modify array.

getAllBeforeLast(value, array): any[]

Returns all items before the last instance of value in array.
Does not modify array.