isType('foo', 'string');
isType(1, 'number');
isType(1n, 'bigint');
isType(true, 'boolean');
isType(Symbol('foo'), 'symbol');
isType(undefined, 'undefined');
isType({}, 'object');
isType(() => {}, 'function');
isType(null, 'null');
isType(NaN, 'NaN');
isType([], 'array');
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled
check if value is of a specific type, nulls, NaN and arrays are specially handled