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

# H5T_EQUAL

The H5T_EQUAL function determines whether two datatype identifiers refer to the same datatype.

## Syntax

Result = H5T_EQUAL(Datatype_id1, Datatype_id2)

## Return Value

Returns 1 if the identifiers refer to the same datatype and 0 if they do not.

## Arguments

### Datatype_id1

An integer representing the first datatype identifier.

### Datatype_id2

An integer representing the second datatype identifier.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_COPY