Decompose monolithic readme into docs/ directory structure
This commit is contained in:
13
docs/values/check.md
Normal file
13
docs/values/check.md
Normal file
@@ -0,0 +1,13 @@
|
||||
[Overview](../overview.md) | [Installation](../installation.md) | [Usage](../usage.md) | [Types](../types/) | **Values** | [Syntax](../syntax/) | [TypeRegistry](../type-registry.md) | [TypeCheck](../type-check.md)
|
||||
|
||||
# Check
|
||||
|
||||
Use the Check function to type check a value.
|
||||
|
||||
```typescript
|
||||
const T = Type.Object({ x: Type.Number() });
|
||||
|
||||
const R = Value.Check(T, { x: 1 }); // const R = true
|
||||
```
|
||||
|
||||
Back to [Home](../../readme.md)
|
||||
Reference in New Issue
Block a user