R/array.R
axes.Rd
Returns the axis indices of an array, i.e. seq_len(naxes(x)).
seq_len(naxes(x))
axes(x)
(arrayish) An array-like object.
arrayish
(integer())
integer()
naxes(), shape()
naxes()
shape()
x <- nv_array(1:6, shape = c(2, 3)) axes(x) #> [1] 1 2