Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_class_validator/src/decorator/string/IsISO8601.ts

Decorator-based property validation for classes.
Latest
import * as denoClassValidator from "https://deno.land/x/deno_class_validator@v1.0.0/src/decorator/string/IsISO8601.ts";

Functions

Checks if the string is a valid ISO 8601 date. If given value is not a string, then it returns false. Use the option strict = true for additional checks for a valid date, e.g. invalidates dates like 2019-02-29.

Checks if the string is a valid ISO 8601 date. If given value is not a string, then it returns false. Use the option strict = true for additional checks for a valid date, e.g. invalidates dates like 2019-02-29.