Checks to see if its first argument is a boolean. If the value is a boolean it is returned as-is, otherwise a secondary value is returned.
IfNonBoolean([Primary Value], [Alternative Value])
Where:
Primary Value is the value whose type should be tested.
Alternative Value is the value which will be returned if the type of the first value fails the type test.
Rule | Meaning |
---|---|
IfNonBoolean(OptionRequiredReturn,FALSE) | Will return FALSE when the value coming from the control OptionRequired is not a boolean. |