UNPKG

@qualifyze/airtable-formulator

Version:
13 lines 489 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isUnaryOperator = void 0; const operator_1 = require("./operator"); // Airtable actually does not support + as an unary operator, but - and -- is // supported. const unaryOperators = ["-"]; function isUnaryOperator(node) { return ((0, operator_1.isOperator)(node) && unaryOperators.includes(node.value)); } exports.isUnaryOperator = isUnaryOperator; //# sourceMappingURL=unary-operator.js.map