code: function(array, pred) {
        if (!isSeq(array)) throw new TypeError;
  
        var sz = _.size(array);
  
        for (var index = 0; index < sz; index++) {
          if(!truthy(pred(array[index]))) {
            break;
          }
        }
  
        return _.take(array, index);
      }
docs: Takes all items in an array while a given predicate returns truthy.