Search include/exclude null fix
This commit is contained in:
@ -39,8 +39,8 @@ export function logicTest(target: object, condition: string): boolean {
|
||||
case '=':
|
||||
case '==': return a == b;
|
||||
case '!=': return a != b;
|
||||
case '+': return a.includes(b);
|
||||
case '-': return !a.includes(b);
|
||||
case '+': return typeof a?.includes != 'undefined' ? a.includes(b) : a == b;
|
||||
case '-': return typeof a?.includes != 'undefined' ? !a.includes(b) : a != b;
|
||||
case '>': return a > b;
|
||||
case '>=': return a >= b;
|
||||
case '<': return a < b;
|
||||
|
Reference in New Issue
Block a user