* Creates a slice of `array` with elements taken from the beginning. 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 create
(array, predicate, thisArg)
| 7108 | * // => [] |
| 7109 | */ |
| 7110 | function takeWhile(array, predicate, thisArg) { |
| 7111 | return (array && array.length) |
| 7112 | ? baseWhile(array, getCallback(predicate, thisArg, 3)) |
| 7113 | : []; |
| 7114 | } |
| 7115 | |
| 7116 | /** |
| 7117 | * Creates an array of unique values, in order, of the provided arrays using |
nothing calls this directly
no test coverage detected