Skip to main content
IsMilitaryTime(validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/IsMilitaryTime.d.ts:12 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.

Parameters

validationOptions?

ValidationOptions

Returns

PropertyDecorator