dist/underscore-contrib.js
function(array, pred) {
      return [_.takeWhile(array, pred), _.dropWhile(array, pred)];
    }
function(array, pred) {
      return [_.takeWhile(array, pred), _.dropWhile(array, pred)];
    }
function ( array , pred ) { return [ _ . takeWhile ( array , pred ) , _ . dropWhile ( array , pred ) ] ; }
Returns an array with two internal arrays built from taking an original array and spliting it at the index where a given function goes falsey.
Returns an array with two internal arrays built from taking an original array and spliting it at the index where a given function goes falsey .