toBool#

pyCGM2.Utils.utils.toBool(text: str)#

Convert a text string to a boolean value.

Parameters:

text (str) – The text to convert.

Returns:

bool – True if text is ‘True’, False otherwise.