dpnp.isscalar

dpnp.isscalar(obj)[source]

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

For full documentation refer to numpy.isscalar.