An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: type-guard

alexreardon/tiny-invariant

A tiny invariant function

Language: TypeScript - Size: 1.16 MB - Last synced at: 4 days ago - Pushed at: 10 months ago - Stars: 1,823 - Forks: 46

pinkary-project/type-guard

Type Guard is a lightweight PHP library that allows you to narrow down the type of an variable to a more specific type.

Language: PHP - Size: 4.17 MB - Last synced at: 3 days ago - Pushed at: 12 months ago - Stars: 192 - Forks: 26

rphlmr/comply

Comply is a tiny library to help you define policies in your app

Language: TypeScript - Size: 655 KB - Last synced at: 6 days ago - Pushed at: 7 months ago - Stars: 13 - Forks: 0

qt-kaneko/assertype

TypeScript type guard generator.

Language: TypeScript - Size: 24.4 KB - Last synced at: 27 days ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

LCcodder/typing-assets

TypeScript library with additional utility types and predicators generation

Language: TypeScript - Size: 146 KB - Last synced at: 26 days ago - Pushed at: 5 months ago - Stars: 2 - Forks: 0

typescript-package/guard

Type-safe guards for guarding the value types in TypeScript.

Language: TypeScript - Size: 58.6 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

Lchemist/TypeGuards

Runtime type checking library for TS & JS

Language: TypeScript - Size: 543 KB - Last synced at: 9 months ago - Pushed at: about 4 years ago - Stars: 1 - Forks: 0

TomokiMiyauci/isx

Collection of validation functions for JavaScript data

Language: TypeScript - Size: 1.9 MB - Last synced at: 1 day ago - Pushed at: almost 2 years ago - Stars: 4 - Forks: 1

strong-roots-capital/is-record 📦

Type-guard for Record

Language: TypeScript - Size: 19.5 KB - Last synced at: 19 days ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

strong-roots-capital/is-record-context 📦

Type-guard for RecordContext

Language: TypeScript - Size: 25.4 KB - Last synced at: 8 days ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

strong-roots-capital/is-derived-record 📦

Type-guard for DerivedRecord

Language: TypeScript - Size: 7.81 KB - Last synced at: 9 months ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0

karol-majewski/refinements

Bulletproof type guards in TypeScript.

Language: TypeScript - Size: 563 KB - Last synced at: 16 days ago - Pushed at: over 2 years ago - Stars: 5 - Forks: 0

buschtoens/combine-type-predicates

Combine user-defined type guards / type predicates as unions and intersections.

Language: TypeScript - Size: 83 KB - Last synced at: 16 days ago - Pushed at: over 1 year ago - Stars: 7 - Forks: 1

lordazzi/taipescripeto-enum-type-guard

Check if an string or number is compatible to an TypeScript enum structure

Language: TypeScript - Size: 474 KB - Last synced at: 13 days ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 0

DamirsCorner/20200619-ts-string-union-type-guard

Sample project for "String Literal Type Guard in TypeScript" blogpost

Language: TypeScript - Size: 265 KB - Last synced at: about 2 months ago - Pushed at: almost 4 years ago - Stars: 1 - Forks: 0

younho9/not

Type guard based on exclude

Language: TypeScript - Size: 2.93 KB - Last synced at: 22 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

younho9/is-interface

Type Guard for interface

Language: JavaScript - Size: 2.93 KB - Last synced at: 22 days ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

pnlybubbles/is-non-nullable

Just function to predicate non nullable with type guard.

Language: TypeScript - Size: 179 MB - Last synced at: over 1 year ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0