dropRightWhile

Creates a slice of array excluding elements dropped from the end.
Elements are dropped until predicate returns falsy.

Example