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

Function isParameterizedString

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

Source from the content-addressed store, hash-verified

89 * @returns A boolean representing the result.
90 */
91export function isParameterizedString(wat: unknown): wat is ParameterizedString {
92 return (
93 typeof wat === 'object' &&
94 wat !== null &&
95 '__sentry_template_string__' in wat &&
96 '__sentry_template_values__' in wat
97 );
98}
99
100/**
101 * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)

Callers 5

captureMessageFunction · 0.90
_INTERNAL_captureLogFunction · 0.90
eventFromMessageFunction · 0.90
eventFromStringFunction · 0.85
isPrimitiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected