code: function is(type, input) {
    if (type === 'Object') return Object(input) === input;
    return toString.call(input) === '[object ' + type + ']';
  }
docs: Check if `input` is String, Function or Object.
  
  @param {String} type
  @param {Mixed} input
  @returns {Boolean}
  @api private