Data Types

Comprehensive guide to Data Types in Linea

Core Types

Linea uses explicit type annotations with @.

var count @ int = 10
var price @ float = 19.99
var name @ str = "Linea"
var ok @ bool = True
var ids @ [int] = [1, 2, 3]

When to Use Explicit Types