Loading homepage
Implement six small helpers for checking JavaScript primitive types: isBoolean, isNumber, isNull, isString, isSymbol, and isUndefined.
These checks should identify the original value directly, without converting it to another type.
Input: isNumber(NaN); Output: true
Input: isNumber("42"); Output: false
Input: isNull(null); Output: true
Input: isBoolean(new Boolean(false)); Output: false
The JavaScript and TypeScript variants use the same API and behavior.