is_bool_dtype#
- ivy.is_bool_dtype(dtype_in, /)[source]#
Determine whether the input data type is a bool data type.
- Parameters:
dtype_in (
Union
[Dtype
,str
,Array
,NativeArray
,Number
]) – input data type to test.- Return type:
bool
- Returns:
ret – “True” if the input data type is a bool, otherwise “False”.
Both the description and the type hints above assumes an array input for
simplicity but this function is *nestable, and therefore also accepts*
ivy.Container
instances in place of any of the arguments.