UNPKG

is-valid-uuid-v4

Version:
5 lines (4 loc) 269 B
declare const uuidRegex: RegExp; declare const uuidRegexString = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"; declare const isValidUUIDV4: (uuid: string) => boolean; export { isValidUUIDV4, uuidRegex, uuidRegexString };