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

Function dropWhile

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

* Creates a slice of `array` excluding elements dropped from the beginning. * 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)

Source from the content-addressed store, hash-verified

17792 * // => objects for ['barney', 'fred', 'pebbles']
17793 */
17794 function dropWhile(array, predicate) {
17795 return (array && array.length)
17796 ? baseWhile(array, getIteratee(predicate, 3), true)
17797 : [];
17798 }
17799
17800 /**
17801 * Fills elements of `array` with `value` from `start` up to, but not

Callers

nothing calls this directly

Calls 2

baseWhileFunction · 0.85
getIterateeFunction · 0.85

Tested by

no test coverage detected