sizeof
Builtin index · Collections & strings
result = sizeof(x)
Input: x · Output: result
What it is
Deprecated — use shape. The same function under a name that means a byte count in every language it could have come from. Still works, and warns once per run.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = sizeof(x) | x Vecnot documented yet | result Vec | Returns a 2-element Vec, [rows, cols] — the same value shape gives. |
Examples
No documentation example calls this form yet. The Collections & strings chapter is where one belongs.