company logo

String :: toBool - Convert string to boolean

The function checks, whether the string value is true or not. The function returns true, when the string value is defined as one of the following case insensitive values:

    true, yes, ja, t, y, j, 1

When this is not the case or the string value has not been set, the function returns false.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool String  :: toBool (  )