@sequeljs/ast
Version:
A SQL AST manager for JavaScript
15 lines • 433 B
JavaScript
import Node from './Node';
export default class BindParam extends Node {
constructor(value) {
super();
this.value = value;
}
isInfinite() {
return this.value === Infinity || this.value === -Infinity;
}
isUnboundable() {
var _a, _b;
return (_b = (_a = this.value).isUnboundable) === null || _b === void 0 ? void 0 : _b.call(_a);
}
}
//# sourceMappingURL=BindParam.js.map