Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ hasinitvalueasstring
Function
hasinitvalueasstring
numpy/f2py/auxfuncs.py:525–528 ·
view source on GitHub ↗
(var)
Source
from the content-addressed store, hash-verified
523
524
525
def
hasinitvalueasstring(var):
526
if
not hasinitvalue(var):
527
return
0
528
return
var[
'='
][0] in [
'"'
,
"'"
]
529
530
531
def
hasnote(var):
Callers
nothing calls this directly
Calls
1
hasinitvalue
Function · 0.85
Tested by
no test coverage detected