UNPKG

typia

Version:

Superfast runtime validators with only one line

8 lines 511 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._randomFormatDate = void 0; const _randomStringLength_1 = require("./_randomStringLength"); const __randomEpoch_1 = require("./private/__randomEpoch"); const _randomFormatDate = (props) => (0, _randomStringLength_1._randomFormatLength)(props, () => new Date((0, __randomEpoch_1.__randomEpoch)(props)).toISOString().substring(0, 10)); exports._randomFormatDate = _randomFormatDate; //# sourceMappingURL=_randomFormatDate.js.map