MCPcopy Index your code
hub / github.com/numpy/numpy / isscalar

Function isscalar

numpy/f2py/auxfuncs.py:112–113  ·  view source on GitHub ↗
(var)

Source from the content-addressed store, hash-verified

110
111
112def isscalar(var):
113 return not (isarray(var) or isstring(var) or isexternal(var))
114
115
116def iscomplex(var):

Callers 15

getarrdimsFunction · 0.70
getpydocsignFunction · 0.70
getarrdocsignFunction · 0.70
sign2mapFunction · 0.70
iscomplexFunction · 0.70
islogicalFunction · 0.70
isintegerFunction · 0.70
isrealFunction · 0.70
islong_longFunction · 0.70
isunsigned_charFunction · 0.70
isunsigned_shortFunction · 0.70
isunsignedFunction · 0.70

Calls 3

isarrayFunction · 0.85
isstringFunction · 0.85
isexternalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…