dim
Returns the dimension of a vector.
Syntax

dim(v)

v
is a vector

Description
If v
is a vector, then dim(v)
is the dimension of v
.
Notes
The length
function and the associated prefix operator #
can also be used to obtain the same number:
#❨5, 0, 1, 3❩
4
Examples
dim(❨5, 0, 1, 3❩)
4