-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The descriptions for the and, or and n-of (and not) functions don't have any guidance on what happens with arguments that evaluate to Indeterminate. One approach, which would be consistent with other functions, is to return Indeterminate if any argument is Indeterminate, but these functions could do better.
The or function could return true if any argument is true; otherwise, return Indeterminate if any argument is Indeterminate; otherwise, return false.
The and function could return false if any argument is false; otherwise, return Indeterminate if any argument is Indeterminate; otherwise, return true.
The n-of function could return true if at least n of its m Boolean arguments are true; otherwise, return false if at least (m - n + 1) of its arguments are false; otherwise, return Indeterminate.