Decompose monolithic readme into docs/ directory structure
This commit is contained in:
13
docs/values/hash.md
Normal file
13
docs/values/hash.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)
|
||||
|
||||
# Hash
|
||||
|
||||
Use the Hash function to create a [FNV1A-64](https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function) non-cryptographic hash of a value.
|
||||
|
||||
```typescript
|
||||
const A = Value.Hash({ x: 1, y: 2, z: 3 }); // const A = 2910466848807138541n
|
||||
|
||||
const B = Value.Hash({ x: 1, y: 4, z: 3 }); // const B = 1418369778807423581n
|
||||
```
|
||||
|
||||
Back to [Home](../../readme.md)
|
||||
Reference in New Issue
Block a user