MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / check_flag

Function check_flag

tools/cmdline.py:232–237  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

230 skip = True
231
232 def check_flag(value):
233 # Check for and consume a flag
234 if arg == value:
235 newargs[i] = ''
236 return True
237 return False
238
239 def check_arg(name):
240 nonlocal arg, arg_value

Callers 1

parse_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected