UNPKG

ts-prims

Version:
21 lines 598 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Clob = void 0; const length_js_1 = require("./length.js"); const prim_js_1 = require("./prim.js"); /** * The prim type constructor function for `clob` * * ```ts * import { type clob, Clob } from 'ts-prims' * * // narrow using cast * let x: clob = 'Hello World!' as clob * // or using runtime check by constructor * x = Clob('Checked at runtime') * ``` * * @see {@link clob} */ exports.Clob = (0, prim_js_1.Prim)(`clob`, String, (0, length_js_1.lengthConstraint)(15)); //# sourceMappingURL=clob.js.map