* Creates a slice of `array` excluding elements dropped from the end. * Elements are dropped until `predicate` returns falsey. The predicate is * bound to `thisArg` and invoked with three arguments: (value, index, array). * * If a property name is provided for `predicate` the cre
(array, predicate, thisArg)
| 6210 | * // => ['barney', 'fred', 'pebbles'] |
| 6211 | */ |
| 6212 | function dropRightWhile(array, predicate, thisArg) { |
| 6213 | return (array && array.length) |
| 6214 | ? baseWhile(array, getCallback(predicate, thisArg, 3), true, true) |
| 6215 | : []; |
| 6216 | } |
| 6217 | |
| 6218 | /** |
| 6219 | * Creates a slice of `array` excluding elements dropped from the beginning. |
nothing calls this directly
no test coverage detected