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.
- Array.is_bool_dtype(self)#
- Return type:
bool
- Container.is_bool_dtype(self, /, key_chains=None, to_apply=True, prune_unapplied=False, map_sequences=False)#
- Return type:
Container