Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_GET_ARRAY_NDIMS

# H5T_GET_ARRAY_NDIMS

The H5T_GET_ARRAY_NDIMS function determines the number of dimensions (or rank) of an array datatype object.

## Syntax

Result = H5T_GET_ARRAY_NDIMS(Datatype_id)

## Return Value

Returns the number of dimensions.

## Arguments

### Datatype_id

An integer representing the datatype’s identifier to be queried.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_GET_ARRAY_DIMS