Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Oct 27, 2023
1 parent a414ef7 commit a1cee69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ License MIT
- [Rest](#types-rest)
- [Transform](#types-transform)
- [Intrinsic](#types-intrinsic)
- [Guard](#types-guard)
- [TypeGuard](#types-typeguard)
- [Unsafe](#types-unsafe)
- [Strict](#types-strict)
- [Values](#values)
Expand Down Expand Up @@ -1042,9 +1042,9 @@ const S = StringEnum(['A', 'B', 'C']) // const S = {

type S = Static<typeof T> // type S = 'A' | 'B' | 'C'
```
<a name='types-guard'></a>
<a name='types-typeguard'></a>
### Type Guard
### TypeGuard
TypeBox can type check its own types with the TypeGuard module. This module is written for reflection and provides structural tests for every TypeBox type. Functions of this module return `is` guards which can be used with TypeScript control flow assertions to obtain schema inference. The following guards that the value A is TString.
Expand Down

0 comments on commit a1cee69

Please sign in to comment.