Function: computeFilter()
computeFilter(
op,a,b):boolean|null
Defined in: utils/utils.ts:197
takes two booleans and returns their result based on the binary operation assigned This doesn't work exactly as binary would because of the null "unset" value. In the case of unset's we just pass through the value that isn't unset.
Parameters
op
string
the binary operator
a
the first (top) value
boolean | null
b
the second (under) value
boolean | null
Returns
boolean | null
boolean result