MCPcopy Create free account
hub / github.com/FastLED/FastLED / has_section

Method has_section

ci/compiler/platformio_ini.py:1052–1062  ·  view source on GitHub ↗

Check if a section exists. Args: section: Section name to check Returns: True if section exists, False otherwise

(self, section: str)

Source from the content-addressed store, hash-verified

1050 ]
1051
1052 def has_section(self, section: str) -> bool:
1053 """
1054 Check if a section exists.
1055
1056 Args:
1057 section: Section name to check
1058
1059 Returns:
1060 True if section exists, False otherwise
1061 """
1062 return self.config.has_section(section)
1063
1064 def has_option(self, section: str, option: str) -> bool:
1065 """

Callers 5

get_optionMethod · 0.80
set_optionMethod · 0.80
get_default_environmentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected