validata
Version:
Type safe data validation and sanitization
12 lines • 314 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const __1 = require("..");
const base = {
nonOptional: (0, __1.isString)(),
optional: (0, __1.maybeString)(),
};
const compound = {
base: (0, __1.isObject)(base),
};
console.log(compound);
//# sourceMappingURL=compound.js.map
;