Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Syntax
Logical.FromText(text as nullable text) as nullable logical
About
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.
Example 1
Create a logical value from the text string "true".
Usage
Logical.FromText("true")
Output
true
Example 2
Create a logical value from the text string "a".
Usage
Logical.FromText("a")
Output
[Expression.Error] Could not convert to a logical.