diff --git a/gitlab-pages/docs/api/cheat-sheet.md b/gitlab-pages/docs/api/cheat-sheet.md index 412ba5bd5..637d511b5 100644 --- a/gitlab-pages/docs/api/cheat-sheet.md +++ b/gitlab-pages/docs/api/cheat-sheet.md @@ -11,22 +11,153 @@ import Syntax from '@theme/Syntax'; Note that this table is not compiled before production and currently needs to be managed manually. --> +
const hasDriversLicense: bool = False;
const adult: bool = True;
|
-|Boolean Logic|(not True) == False == (False and True) == (False or False)
|
-|Mutez (micro tez)| `42mutez`, `7mutez` |
-|Address | `"tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx"`, `"KT1JepfBfMSqkQyf9B1ndvURghGsSB8YCLMD"`|
-|Addition |`3 + 4`, `3n + 4n`|
-|Multiplication & Division| `3 * 4`, `3n * 4n`, `10 / 5`, `10n / 5n`|
|Modulo| `10 mod 3`|
|Tuples| type name is (string * string);
const winner: name = ("John", "Doe");
const firstName: string = winner.0;
const lastName: string = winner.1;
|
|Types|`type age is int`, `type name is string` |