Skip to main content

Primitives

Primitives are the following types:

  • Int (64-Bit)
  • UInt (64-Bit)
  • Float (64-Bit)
  • Char (32-Bit UTF-8 code point)
  • String (UTF-8 text)
  • Bool
  • Array of primitives
  • Tuples of primitives
src/strings.duck
fn main() {
const tuple = (1, "a", true);
const array = [1, 2, 3];
}