Logical.FromText
Logical.FromText(text as nullable text) as nullable logical
Creates a logical value from the text value text
, either "true" or "false". If text
contains a different string, an exception is thrown. The text value text
is case insensitive.
Create a logical value from the text string "true".
Usage
Logical.FromText("true")
Output
true
Create a logical value from the text string "a".
Usage
Logical.FromText("a")
Output
[Expression.Error] Could not convert to a logical.