@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
28 lines • 618 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NumType = void 0;
const AbsType_1 = require("./AbsType");
class NumType extends AbsType_1.AbsType {
format(format) {
this.schema.format = format;
return this;
}
gt(gt) {
this.schema.gt = gt;
return this;
}
gte(gte) {
this.schema.gte = gte;
return this;
}
lt(lt) {
this.schema.lt = lt;
return this;
}
lte(lte) {
this.schema.lte = lte;
return this;
}
}
exports.NumType = NumType;
//# sourceMappingURL=NumType.js.map