MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / isRegExp

Function isRegExp

packages/core/src/utils/is.ts:153–155  ·  view source on GitHub ↗
(wat: unknown)

Source from the content-addressed store, hash-verified

151 * @returns A boolean representing the result.
152 */
153export function isRegExp(wat: unknown): wat is RegExp {
154 return isBuiltin(wat, 'RegExp');
155}
156
157/**
158 * Checks whether given value has a then function.

Callers 1

isMatchingPatternFunction · 0.90

Calls 1

isBuiltinFunction · 0.85

Tested by

no test coverage detected