Functions that apply guards to validate values at runtime.
Factory functions that create guards for primitive and structural types.
Functions for building custom guards from predicates and composing guards.
A function that checks if a value conforms to type T.
Extracts the guarded type from a guard factory, guard, or literal.
A guard or a factory function returning it.
Literal types accepted as implicit guards in object schemas.
A readonly array with elements of type T.
A plain object with property values of type T.
Object properties resolved to their guarded types.
The intersection of all types in a union.
Runtime structural type validation with composable guards.
Provides factory functions for creating guards that validate unknown values against expected structures. Guards compose through conjunction and disjunction combinators, enabling validation of complex nested types. Validated objects are memoized and frozen for safe reuse.