#include "tensorstore/array.h" constexpr RankTypetensorstore::Array<ElementTagType, Rank, OriginKind, LayoutContainerKind>::rank() const; Returns the rank of the array.