Ini.sections

string[] sections() @property

Returns an array of section names.

Only keys that map to an object are considered sections.

Performance_

Note

This method allocates a new array on every call. This is intentional

for mutation safety—callers may freely modify the returned array without affecting the internal state. For performance-critical code that iterates sections frequently, consider caching the result.