Returns the dimension of a vector or vector field, which can be 2, 3, or 4.

// Returns 3
const dim = Chalkboard.vect.dimension(Chalkboard.vect.init(1, 2, 3));