Update packages/core/utils/lib/operators.js

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
This commit is contained in:
Ben Irvin 2023-05-12 16:48:26 +02:00 committed by Convly
parent 1c0c28fb0d
commit 2764c3c6ba

View File

@ -60,7 +60,7 @@ const isOperatorOfType = (type, key, ignoreCase = false) => {
if (ignoreCase) {
return OPERATORS_LOWERCASE[type]?.includes(key.toLowerCase()) ?? false;
}
return OPERATORS[type]?.includes(key);
return OPERATORS[type]?.includes(key) ?? false;
};
const isOperator = (key, ignoreCase = false) => {