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

Function isString

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

Source from the content-addressed store, hash-verified

78 * @returns A boolean representing the result.
79 */
80export function isString(wat: unknown): wat is string {
81 return isBuiltin(wat, 'String');
82}
83
84/**
85 * Checks whether given string is parameterized

Callers 12

_wrapHttpFunctionFunction · 0.90
isErrorOrErrorLikeObjectFunction · 0.90
_htmlElementAsStringFunction · 0.90
parseBaggageHeaderFunction · 0.90
isMatchingPatternFunction · 0.90
wrapApiHandlerWithSentryFunction · 0.90
getAwsTraceDataFunction · 0.90
_htmlElementAsStringFunction · 0.90
applyFunction · 0.90
parseXhrUrlArgFunction · 0.90
getFilenameFromUrlFunction · 0.85

Calls 1

isBuiltinFunction · 0.85

Tested by

no test coverage detected