Category: Strings
ToBoolean(text As String)
Boolean
Converts a string into a Boolean value.
Accepted values are True, False, 1, and 0. Text matching is case-insensitive, so values such as "true", "FALSE", and "1" work.
If the text is not one of the supported Boolean forms, the result is False.
enabled = ToBoolean("true")
fullscreen = ToBoolean("1")