typeof
RU: typeof
A JavaScript/TypeScript unary operator that returns a string naming the type of its operand at run time. For primitives: "number", "string", "boolean", "undefined". Historical quirk: typeof null returns "object".
RU: typeof
A JavaScript/TypeScript unary operator that returns a string naming the type of its operand at run time. For primitives: "number", "string", "boolean", "undefined". Historical quirk: typeof null returns "object".