land (logical “and”)
land(compares: any number of Array<Boolean>) -> Array<Boolean>Compares any number of boolean arrays, and returns an array containing boolean values
that are true in places where the values from all input arrays are true. Can also
be used with the shorthand & operator.
Note
Unlike other similar functions, all inputs must be arrays.
Example:
local var = land(cond1, cond2, cond3, ...)
local var = cond1 & cond2See also lor