### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Data type routines »

# numpy.issubdtype

`numpy.``issubdtype`(arg1, arg2)

  Returns True if first argument is a typecode lower/equal in type hierarchy.

  Parameters: | arg1 : dtype_like dtype or string representing a typecode. arg2 : dtype_like dtype or string representing a typecode.

  See also

  `numpy.core.numerictypes`
    Overview of numpy type hierarchy.

  Examples

      >>> np.issubdtype('S1', str)
      True
      >>> np.issubdtype(np.float64, np.float32)
      False

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Data type routines »