Table
Collection where each value has a stable identifier.
Types
Properties
Functions
Adds a new row with the provided value to the table. Returns the identifier of the newly added row.
Adds all provided values to the table. Returns a list with the identifiers of all newly added rows.
Whether the table contains a row with the provided id.
Whether the table contains a row with the provided value.
Returns the value of the row with the provided id.
Returns the identifier of the row at the provided index.
Returns the index of the row with the provided id or -1 when no such row exists.
Returns the index of the row with the provided value or -1 when no such row exists.
Returns the last index of the row with the provided value or -1 when no such row exists.
Removes the row with the provided id. Returns the element of the removed row or null if no such row exists.
Creates a new Map from a table.