cupy.isscalar

cupy.isscalar(element)[source]

Returns True if the type of num is a scalar type.

See also

numpy.isscalar()