#include "tensorstore/array.h"
template <typename ElementTag,
         
 DimensionIndex Rank,
         
 ArrayOriginKind OriginKind,
         
 ContainerKind LayoutCKind,
         
 typename LayoutOrder>
  
requires IsContiguousLayoutOrder<
      
LayoutOrder,
     
 RankConstraint::FromInlineRank(Rank)>
bool tensorstore::IsContiguousLayout(
    
const Array<ElementTag, Rank, OriginKind, LayoutCKind>array,
    
LayoutOrder order);

Checks if array has a contiguous layout with the specified order.