cupynumeric.isdtype#

cupynumeric.isdtype(
dtype: DTypeLike,
kind: DTypeLike | str | tuple[DTypeLike | str, ...],
/,
) bool#

Return whether a dtype matches an Array API dtype kind.

kind may be a dtype, a standard dtype-kind string, or a tuple of those values.