UNPKG

@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 392 B
{"version":3,"file":"_isFormatUuid.mjs","sources":["../../src/functional/_isFormatUuid.ts"],"sourcesContent":["export const _isFormatUuid = (str: string): boolean => PATTERN.test(str);\n\nconst PATTERN = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;\n"],"names":["_isFormatUuid","str","PATTERN","test"],"mappings":"AAAO,MAAMA,gBAAiBC,OAAyBC,QAAQC,KAAKF;;AAEpE,MAAMC,UAAU;;"}