* Creates a slice of `array` with elements taken from the end. Elements are * taken until `predicate` returns falsey. The predicate is invoked with * three arguments: (value, index, array). * * @static * @memberOf _ * @since 3.0.0 * @cat
(array, predicate)
| 18872 | * // => [] |
| 18873 | */ |
| 18874 | function takeRightWhile(array, predicate) { |
| 18875 | return (array && array.length) |
| 18876 | ? baseWhile(array, getIteratee(predicate, 3), false, true) |
| 18877 | : []; |
| 18878 | } |
| 18879 | |
| 18880 | /** |
| 18881 | * Creates a slice of `array` with elements taken from the beginning. Elements |
nothing calls this directly
no test coverage detected