GorGorv1.0

Data Types

The six data types in Gor.

Gor has six data types:

TypeDescriptionExample
NumberInteger values42, 0, 100
StringDouble-quoted text"hello", "Gor"
BooleanTrue or falsetrue, false
NullAbsence of valuenull
ArrayOrdered collection[1, 2, 3]
ObjectKey-value pairs{ x: 1, y: 2 }

Numbers are integers only. There are no floating-point numbers.