typia
Version:
Superfast runtime validators with only one line
8 lines (7 loc) • 394 B
JavaScript
import { _randomFormatLength } from "./_randomStringLength.mjs";
import { __randomEpoch } from "./private/__randomEpoch.mjs";
//#region src/internal/_randomFormatDate.ts
const _randomFormatDate = (props) => _randomFormatLength(props, () => new Date(__randomEpoch(props)).toISOString().substring(0, 10));
//#endregion
export { _randomFormatDate };
//# sourceMappingURL=_randomFormatDate.mjs.map