class Vector
Members
Number length
Returns the number of the elements.
Constructor
Methods
Symbol.iterator
()at
(number index)
getSubtype
()toString
()Returns the string representation of the vector.
Number Returns the number of the elements.
| Type | Description |
|---|---|
IterableIterator<any>
|
an iterator over the elements of the vector |
| Type | Description |
|---|---|
string or undefined
|
get the subtype string, e.g., “float”, but it’s optional so it can return undefined |