@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.
10 lines • 354 B
JavaScript
import { OPERATOR_TO_ALIAS_MAP } from '../type/condition-operator-to-alias-map.const';
/**
* @hidden
*/
export function aliasForOperator(operator) {
return Array.isArray(OPERATOR_TO_ALIAS_MAP[operator])
? OPERATOR_TO_ALIAS_MAP[operator][0]
: OPERATOR_TO_ALIAS_MAP[operator];
}
//# sourceMappingURL=alias-for-operator.function.js.map