Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/getsentry/sentry
/ defined
Function
defined
static/app/utils/defined.tsx:1–3 ·
view source on GitHub ↗
(item: T)
Source
from the content-addressed store, hash-verified
1
export function defined<T>(item: T): item is Exclude<T, null | undefined> {
2
return item !== undefined && item !== null;
3
}
Callers
15
SubscriptionSummary
Function · 0.90
DynamicSampling
Function · 0.90
DynamicSamplingRulesTable
Function · 0.90
CustomerDetails
Function · 0.90
Overlay
Function · 0.90
UserMisery
Function · 0.90
ScoreCard
Function · 0.90
isMilliseconds
Function · 0.90
isNanoseconds
Function · 0.90
getBody
Function · 0.90
QueryCount
Function · 0.90
shouldWidgetCardChartMemo
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected