import { isoWeek } from "https://deno.land/x/valibot@v0.35.0/mod.ts";
Creates an ISO week validation action.
Format: yyyy-Www
Hint: The regex used cannot validate the maximum number of weeks based on the year. For example, "2021W53" is valid although 2021 has only 52 weeks.
Creates an ISO week validation action.
Format: yyyy-Www
Hint: The regex used cannot validate the maximum number of weeks based on the year. For example, "2021W53" is valid although 2021 has only 52 weeks.
Type Parameters
TMessage extends ErrorMessage<IsoWeekIssue<TInput>> | undefined