Skip to content

Commit

Permalink
add explaination for why it works
Browse files Browse the repository at this point in the history
Co-authored-by: Sasial <[email protected]>
  • Loading branch information
jackdotink and sasial-dev authored Dec 19, 2023
1 parent 4611e34 commit fce72f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/config/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Suppose we are trying to send the health of a player over the remote. We may def

<CodeBlock code="type Health = u8 (0..100)" />

This works because limits are **inclusive**, and will include 0 and 100.
## Strings

Unlike numbers, strings do not have a maximum length across different types. They can be any length unless they are constrained.
Expand Down

0 comments on commit fce72f8

Please sign in to comment.