Data Types
The six data types in Gor.
Gor has six data types:
| Type | Description | Example |
|---|---|---|
| Number | Integer values | 42, 0, 100 |
| String | Double-quoted text | "hello", "Gor" |
| Boolean | True or false | true, false |
| Null | Absence of value | null |
| Array | Ordered collection | [1, 2, 3] |
| Object | Key-value pairs | { x: 1, y: 2 } |
Numbers are integers only. There are no floating-point numbers.