Function: isMonitorStatus()
isMonitorStatus(
status:string): status is "degraded" | "down" | "up" | "paused" | "pending"
Defined in: shared/types.ts:545
Determines whether a string matches a monitor status literal.
Parametersโ
statusโ
string
Status string to evaluate.
Returnsโ
status is "degraded" | "down" | "up" | "paused" | "pending"
true when the value is part of MONITOR_STATUS_VALUES.