is_uint_dtype#
- ivy.is_uint_dtype(dtype_in, /)[source]#
Determine whether the input data type is a uint dtype.
- Parameters:
dtype_in (
Union
[Dtype
,str
,Array
,NativeArray
,Number
]) – The array or data type to check- Return type:
bool
- Returns:
ret – Whether or not the array or data type is of a uint dtype
Examples
>>> ivy.is_uint_dtype(ivy.UintDtype("uint16")) True
>>> ivy.is_uint_dtype(ivy.Dtype("uint8")) True
>>> ivy.is_uint_dtype(ivy.IntDtype("int64")) False