MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _b

Function _b

SLiCAP/schematic/config.py:80–84  ·  view source on GitHub ↗
(section: str, key: str, default: bool)

Source from the content-addressed store, hash-verified

78
79
80def _b(section: str, key: str, default: bool) -> bool:
81 try:
82 return _cfg[section][key].strip().lower() in ("true", "1", "yes")
83 except KeyError:
84 return default
85
86
87# LaTeX rendering preference

Callers 2

config.pyFile · 0.85
_applyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected