UNPKG

payload-is

Version:

A comprehensive TypeScript/JavaScript type checking library providing functions to check data types, collections, primitives, and built-in objects

1 lines 372 B
{"version":3,"file":"regexp.cjs","sources":["../../src/regexp.ts"],"sourcesContent":["// RegExp\n\nimport { getTag } from \"./type.ts\";\n\nexport function isRegExp(payload: unknown): payload is RegExp {\n return getTag(payload) === \"RegExp\";\n}\n"],"names":["getTag"],"mappings":";;;;AAIO,SAAS,SAAS,OAAqC,EAAA;AAC5D,EAAO,OAAAA,WAAA,CAAO,OAAO,CAAM,KAAA,QAAA;AAC7B;;;;"}