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

Function isunsigned_char

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

Source from the content-addressed store, hash-verified

157
158
159def isunsigned_char(var):
160 if not isscalar(var):
161 return 0
162 if var.get('typespec') != 'integer':
163 return 0
164 return get_kind(var) == '-1'
165
166
167def isunsigned_short(var):

Callers

nothing calls this directly

Calls 3

get_kindFunction · 0.85
isscalarFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected