2 repositorios
Tests whether every element in an array-like object conforms to a specified data type or numeric constraint.
Distinct from Array Schema Validation: Distinct from Array Schema Validation: focuses on validating the type of each element, not the overall schema of the array.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Element Type Validators. Refine with filters or upvote what's useful.
type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu
Determines if every element within an array type extends a specific target type.
Provides utilities for validating the data type of every element in an array.