Logical.FromText
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for