Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Types

Ling is dynamically typed. These type names can appear in annotations such as x: number or -> text, but annotations are parsed and ignored. See Types and Values.

English中文日本語한국어ไทยDescription
number数数値숫자จำนวนNumber. Every number is a 64-bit float.
text文文字列문자열ข้อความText (string).
bool布論理논리ตรรกะBoolean: true or false.
list列リスト목록รายการList; mixed types, indexed from 0.
map图マップ맵แผนที่No such type exists; the name is documentation only.
tuple元タプル튜플สิ่งอันดับNo such type exists; the name is documentation only.