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 505 B
{"version":3,"file":"_isFormatDateTime.mjs","sources":["../../src/functional/_isFormatDateTime.ts"],"sourcesContent":["export const _isFormatDateTime = (str: string): boolean => PATTERN.test(str);\n\nconst PATTERN =\n /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(T|\\s)([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]{1,9})?(Z|[+-]([01][0-9]|2[0-3]):[0-5][0-9])$/i;\n"],"names":["_isFormatDateTime","str","PATTERN","test"],"mappings":"AAAO,MAAMA,oBAAqBC,OAAyBC,QAAQC,KAAKF;;AAExE,MAAMC,UACJ;;"}