@env0/dynamo-easy
Version:
DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
14 lines • 508 B
JavaScript
/**
* @module expression
*/
import { FUNCTION_OPERATORS } from '../function-operators.const';
/**
* An operator can either be an comparator or a function, this method helps to check for function operator
* @param {ConditionOperator} operator
* @returns {boolean} Returns true if the operator is a function operator, false otherwise
* @hidden
*/
export function isFunctionOperator(operator) {
return FUNCTION_OPERATORS.includes(operator);
}
//# sourceMappingURL=is-function-operator.function.js.map