MCPcopy Index your code
hub / github.com/nodejs/node / getbool

Function getbool

tools/inspector_protocol/jinja2/ext.py:579–581  ·  view source on GitHub ↗
(options, key, default=False)

Source from the content-addressed store, hash-verified

577 extensions.add(InternationalizationExtension)
578
579 def getbool(options, key, default=False):
580 return options.get(key, str(default)).lower() in \
581 ('1', 'on', 'yes', 'true')
582
583 silent = getbool(options, 'silent', True)
584 environment = Environment(

Callers 1

babel_extractFunction · 0.70

Calls 2

strFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…