* Creates a slice of `array` with elements taken from the end. Elements are * taken 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 created `_.p
(array, predicate, thisArg)
| 7053 | * // => [] |
| 7054 | */ |
| 7055 | function takeRightWhile(array, predicate, thisArg) { |
| 7056 | return (array && array.length) |
| 7057 | ? baseWhile(array, getCallback(predicate, thisArg, 3), false, true) |
| 7058 | : []; |
| 7059 | } |
| 7060 | |
| 7061 | /** |
| 7062 | * Creates a slice of `array` with elements taken from the beginning. Elements |
nothing calls this directly
no test coverage detected