code: function match(input, patterns = []){
  	if(!patterns || 0 === patterns.length)
  		return false;
  	
  	input    = String(input);
  	patterns = arrayify(patterns).filter(Boolean);
  	for(const pattern of patterns)
  		if((pattern === input && "string" === typeof pattern)
  		|| (pattern instanceof RegExp) && pattern.test(input))
  			return true;
  	return false;
  }
docs: Test a string against a list of patterns.
  
  @param {String} input
  @param {String[]|RegExp[]} patterns
  @return {Boolean}
  @internal