hour
const hour: RegExp = /^(0[0-9]|1[0-9]|2[0-3])$/;import { hour } from "@northguild/gmt/regex/time";regex patterns exported for usage
Examples
Section titled “Examples”hour.test("00") // truehour.test("23") // truehour.test("60") // falsehour.test("202") // false