(wat: unknown)
| 89 | * @returns A boolean representing the result. |
| 90 | */ |
| 91 | export 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) |
no outgoing calls
no test coverage detected