@samchon/openapi
Version:
Universal OpenAPI to LLM function calling schemas. Transform any Swagger/OpenAPI document into type-safe schemas for OpenAI, Claude, Qwen, and more.
1 lines • 477 B
Source Map (JSON)
{"version":3,"file":"_isFormatEmail.mjs","sources":["../../src/functional/_isFormatEmail.ts"],"sourcesContent":["export const _isFormatEmail = (str: string): boolean => PATTERN.test(str);\n\nconst PATTERN =\n /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;\n"],"names":["_isFormatEmail","str","PATTERN","test"],"mappings":"AAAO,MAAMA,iBAAkBC,OAAyBC,QAAQC,KAAKF;;AAErE,MAAMC,UACJ;;"}