Types
x = 5 // dynamic: x holds a number
int y = 5 // typed: y must always be an integerThe core types
String
name = "Hello"
message = "Hello, World!"
path = "C:/Users/Documents"
empty = ""Number
count = 42 // an integer
price = 19.99 // a floating-point number
total = 10.5 + 20 // 30.5Annotation
Holds
Boolean
Array
Object
Null
Typed declarations
Type families reference
Family
Annotations
Inspecting and converting types
Last updated