type-guards
There are 25 repositories under type-guards topic.
sniptt-official/guards
🛡 Comprehensive collection of type guards for JavaScript and TypeScript; Inspired by Elixir
janjakubnanista/ts-type-checked
Runtime duck type checking utilities for TypeScript.
LuciNyan/ts-known
This library offers guards for common types, and methods to generate type guards for specific types quickly. Safely handle unpredictable unknown types with ease.
Goldziher/type-predicates
A comprehensive collection of type-guards, type assertions and related utils
mscharley/generic-type-guard
Type safe, composable type guards for TypeScript
justinlettau/ts-util-is
TypeScript typeof utility helper with no dependencies.
buschtoens/combine-type-predicates
Combine user-defined type guards / type predicates as unions and intersections.
andjsrk/typesafe-guard
A utility for creating type-safe user-defined type guard for TypeScript
codefeathers/runtype
Runtime type assertions that return
garydavisonos/conditional-helpers
A collection of JS helper functions to be used in conditional logic within projects.
karol-majewski/refinements
Bulletproof type guards in TypeScript.
deno911/dis
Typechecking with ease.
LCcodder/typing-assets
TypeScript library with additional utility types and predicators generation
dheysonalves/typescript-guide
Typescript general studies with mini-apps with the superset, tuples, generics, decorators, typed annotations, and typed arrays.
fibo/minimal-type-guard-helpers
minimal type-guard helpers
flex-development/tutils
TypeScript-friendly utilities
matthieubosquet/ts-guards
A collection of basic type guards.
michaelcoxon/utilities
My own collection of utility methods and classes that I feel are missing from JavaScript, also with some other junk thrown in.
shadow578/type-guardian
functional, composable type guards
socialaccess-network/isa
A simple and lightweight library for creating and validating javascript variables. It is designed to be used with typescript, but can also be used with plain javascript.
nberlette/math
Standalone zero-dependency implementation of the entire `Math` namespace, compatible with any JS runtime.
Nebulaevo/sniffly
A lightweight TypeScript utility library for performing common type-safe value checks with type narrowing
qt-kaneko/assertype
TypeScript type guard generator.
younho9/is-interface
Type Guard for interface
younho9/not
Type guard based on exclude