Abstract
The size of the container.
const container = new Vector([1, 2]);console.log(container.length); // 2
const container = new Vector([1, 2]);console.log(container.size()); // 2
Whether the container is empty.
container.clear();console.log(container.empty()); // true
Clear the container.
Generated using TypeDoc
Returns
The size of the container.
Example