* Creates a slice of `array` excluding elements dropped from the end. * Elements are dropped until `predicate` returns falsey. The predicate is * invoked with three arguments: (value, index, array). * * @static * @memberOf _ * @since 3.0.0
(array, predicate)
| 17751 | * // => objects for ['barney', 'fred', 'pebbles'] |
| 17752 | */ |
| 17753 | function dropRightWhile(array, predicate) { |
| 17754 | return (array && array.length) |
| 17755 | ? baseWhile(array, getIteratee(predicate, 3), true, true) |
| 17756 | : []; |
| 17757 | } |
| 17758 | |
| 17759 | /** |
| 17760 | * Creates a slice of `array` excluding elements dropped from the beginning. |
nothing calls this directly
no test coverage detected