☁️
DreamTode
  • Introduction
  • Types
  • Primitives
  • Arrays
  • Assignments
  • Objects
  • Parameters
  • Functions
  • Declarations
  • Templates
  • Instances
  • Custom Types
  • Dynamic Arrays
  • Ownership
  • It
  • Examples
Powered by GitBook
On this page

Was this helpful?

Templates

You can call an array with arguments to use it as a template.

[name, age] ("Lu", 28)

For example...

let Vector = [x, y]
let position = Vector(3, 2)
PreviousDeclarationsNextInstances

Last updated 3 years ago

Was this helpful?