MCPcopy Create free account
hub / github.com/numpy/numpy / islogical

Function islogical

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

Source from the content-addressed store, hash-verified

122
123
124def islogical(var):
125 return isscalar(var) and var.get('typespec') == 'logical'
126
127
128def isinteger(var):

Callers 2

islogicalfunctionFunction · 0.85
get_parametersFunction · 0.85

Calls 2

isscalarFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected