Skip to content

Overview

Primitive validators ensure that a value is one of JavaScript’s built‑in primitive types and meets specific criteria. They return simple booleans, never throw, and never mutate input.

All primitive validators are pure, predictable, and safe to use before complex data processing or transformation.