@6river/reason-guard
v6.0.2
Published
TypeScript library to build typeguards that explain their decisions
Downloads
3,440
Keywords
Readme
reason-guard
TypeScript library to build typeguards that explain their decisions
semantics
- A true reasonguard will provide no errors and at least one confirmation of what was checked.
- A false reasonguard will provide at least one error about what failed.
compatibility
isLiteral
may not work unless your project uses at least version 3.4 oftypescript
examples
- See the example guard tests