[]
Validates an expression value to make sure any literal booleans can be evaluate to either true or false.
public static void ValidateBoolean(ExpressionInfo expression)
| Type | Name | Description |
|---|---|---|
| ExpressionInfo | expression | An ExpressionInfo value to validate. |
ExpressionInfo value = ExpressionInfo.FromString("true");
ValidationUtils.ValidateBoolean(value);
| Type | Condition |
|---|---|
| InvalidBooleanExpressionException | Throws if the value is not evalueted to boolean. |