Skip to content

Properties

Humbat edited this page Sep 10, 2026 · 1 revision

Built-in Properties

Tera supports lightweight property accessors for inspecting variables and data structures.


1. Collection Properties

When working with arrays and collections, you can use the following properties:

  • x.leng: Gets the total count of items.
  • x.first: Accesses the initial item.
  • x.last: Accesses the final item.
  • x.isEmpty: Evaluates to a boolean checking if the collection is empty.

Clone this wiki locally