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