source/type.js
function isType(type, input) {
	if (input === null) {
		return type.toLowerCase() === 'null';
	}

	return typeof input === type.toLowerCase() || Type.is(type, input);
}
function isType(type, input) {
	if (input === null) {
		return type.toLowerCase() === 'null';
	}

	return typeof input === type.toLowerCase() || Type.is(type, input);
}
function isType ( type , input ) { if ( input === null ) { return type . toLowerCase ( ) === 'null' ; } return typeof input === type . toLowerCase ( ) || Type . is ( type , input ) ; }
Determine if the given input matches the type

@param   {string}   type
@param   {any}      input
@return  {boolean}  is type
Determine if the given input matches the type