Skip to content

Overview

Primitive type guards check whether a value is one of JavaScript’s built‑in primitive types. They return simple booleans, never throw, and never mutate input.

All primitive guards are pure, predictable, and safe to use before normalization or validation.