Parameters (BOOLEAN value1, BOOLEAN value2);
Returns: BOOLEAN;
These function performs a logical AND or OR operation on the two input parameters to give a Boolean result.
Notes on Use:
- NULL values in the input parameters will be interpreted as FALSE
- String values 'True' and 'Yes' will convert to TRUE. All other string values will convert to false
- Integer values >=1 will convert to TRUE. All other integer values will convert to false
Examples:
- OR(TRUE,FALSE) = TRUE
- AND(TRUE,FALSE) = FALSE
- OR(12,0) =TRUE
- OR(FALSE,0) =TRUE
- AND(1, 'TRUE') =TRUE
- AND(NULL,TRUE)= FALSE
Comments
0 comments
Please sign in to leave a comment.