bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / issctype
function
numpy:issctype
source: /dev/numpy/build-install/usr/lib/python3.14/site-packages/numpy/_core/numerictypes.py :191
Signature
def issctype ( rep ) Summary
Determines whether the given object represents a scalar data-type.
Parameters
rep: anyIf
repis an instance of a scalar dtype, True is returned. If not, False is returned.
Returns
out: boolBoolean result of check whether
repis a scalar dtype.
Examples
from numpy._core.numerictypes import issctype issctype(np.int32) issctype(list) issctype(1.1)✓
issctype(np.dtype('str'))
✓See also
- issubdtype
- issubsctype
- obj2sctype
- sctype2char
Aliases
-
numpy._core.numerictypes.issctype