Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_class_validator/src/decorator/string/IsMilitaryTime.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/IsMilitaryTime.ts";

Functions

Checks if the string represents a time without a given timezone in the format HH:MM (military) If the given value does not match the pattern HH:MM, then it returns false.

Checks if the string represents a time without a given timezone in the format HH:MM (military) If the given value does not match the pattern HH:MM, then it returns false.