Table🔗
-
class
Table
(rows, columns, buffer)🔗 A table. Corresponds to the va_table C type.
- Arguments
rows (number) –
columns (number) –
buffer (any[]) –
-
Table.
columns
🔗 type: number
-
Table.
data
🔗 type: any[]
-
Table.
dimensions
🔗 type: Uint32Array
-
Table.
info
🔗 type: MdArrayInfo
-
Table.
rows
🔗 type: number
-
Table.
Type
🔗 type: <TODO: reflection>
-
Table.
elementCount
()🔗 Returns the total number of elements in the array.
- Returns
number –
-
Table.
entry
(row, column)🔗 - Arguments
row (number) –
column (number) –
- Returns
any –
-
Table.
equals
(other)🔗 - Arguments
other (any) –
- Returns
boolean –
-
Table.
forEach
(callback)🔗 - Arguments
reflection> callback (<TODO:) –
-
Table.
setEntry
(row, column, value)🔗 - Arguments
row (number) –
column (number) –
value (any) –
-
Table.
toIndex
(indices)🔗 Flattens a multi-dimensional array index to one-dimensional index for array look-up.
- Arguments
indices (NumericArray) –
- Returns
number –
-
Table.
transform
(callback)🔗 - Arguments
reflection> callback (<TODO:) –
-
Table.
write
(stream)🔗 - Arguments
stream (default) –
-
Table.
read
(stream)🔗 - Arguments
stream (default) –
- Returns
Table –