docs: function limitToFilter() {
    return function(input, limit) {
      if (isNumber(input)) input = input.toString();
      if (!isArray(input) && !isString(input)) return input;
  
      if (Math.abs(Number(limit)) === Infinity) {
        limit = Number(limit);
      } else {
        limit = int(limit);
      }
  
      //NaN check on limit
      if (limit) {
        return limit > 0 ? input.slice(0, limit) : input.slice(limit);
      } else {
        return isString(input) ? "" : [];
      }
    };
  }