Skip to content

Commit

Permalink
Add example codes in docs/misc
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Oct 22, 2023
1 parent e1e69c1 commit b51c573
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 60 deletions.
2 changes: 1 addition & 1 deletion website/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import Stack from '@mui/material/Stack';
))}
</span>

```typescript copy
```typescript
// RUNTIME VALIDATORS
export function is<T>(input: unknown): input is T; // returns boolean
export function assert<T>(input: unknown): T; // throws TypeGuardError
Expand Down
Loading

0 comments on commit b51c573

Please sign in to comment.