1.0.2 • Published 5 years ago
@writetome51/array-get-all-after-before-last v1.0.2
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
.