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 GitHub
parent 8b08534ec8
commit 00f43de9b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) => {