logicalAnd()
logicalAnd(mixed ...$args) : bool|string
LOGICAL_AND.
Returns boolean TRUE if all its arguments are TRUE; returns FALSE if one or more argument is FALSE.
Excel Function: =AND(logical1[,logical2[, ...]])
The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays
or references that contain logical values.
Boolean arguments are treated as True or False as appropriate
Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False
If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string
holds the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value
Parameters
mixed | $args variadic | Data values |
Returns
bool|string —the logical AND of the arguments