Files
evento/node_modules/kysely/dist/esm/operation-node/binary-operation-node.js
2026-03-18 14:55:56 -03:00

19 lines
455 B
JavaScript

/// <reference types="./binary-operation-node.d.ts" />
import { freeze } from '../util/object-utils.js';
/**
* @internal
*/
export const BinaryOperationNode = freeze({
is(node) {
return node.kind === 'BinaryOperationNode';
},
create(leftOperand, operator, rightOperand) {
return freeze({
kind: 'BinaryOperationNode',
leftOperand,
operator,
rightOperand,
});
},
});