# Helpers

By
In 
Published 2025-06-21

ModuBotCore provides useful helper functions in ModuBotCore.helpers.

# str2bool

str2bool(value: str) -> bool

Converts a string to a boolean value. Useful for parsing configuration values or user input.

# Example

from ModuBotCore.helpers import str2bool

print(str2bool("true"))   # True
print(str2bool("False"))  # False