@samchon/openapi
Version:
OpenAPI definitions and converters for 'typia' and 'nestia'.
1 lines • 425 B
Source Map (JSON)
{"version":3,"file":"_isFormatIpv4.mjs","sources":["../../src/functional/_isFormatIpv4.ts"],"sourcesContent":["export const _isFormatIpv4 = (str: string): boolean => PATTERN.test(str);\n\nconst PATTERN =\n /^(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)$/;\n"],"names":["_isFormatIpv4","str","PATTERN","test"],"mappings":"AAAO,MAAMA,gBAAiBC,OAAyBC,QAAQC,KAAKF;;AAEpE,MAAMC,UACJ;;"}