MCPcopy Index your code
hub / github.com/deployd/deployd / takeRightWhile

Function takeRightWhile

test-app/public/sinon.js:18874–18878  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

baseWhileFunction · 0.85
getIterateeFunction · 0.85

Tested by

no test coverage detected