UNPKG

@riao/dbal

Version:
15 lines 570 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isDatabaseFunction = void 0; const expression_token_1 = require("../expression/expression-token"); /** * Check if a value is a database function token * * @param token Value to check * @returns Returns true if the value is a database function */ function isDatabaseFunction(token) { return token.riao_expr === expression_token_1.ExpressionTokenKey.FUNCTION_CALL; } exports.isDatabaseFunction = isDatabaseFunction; //# sourceMappingURL=is-database-function.js.map