Skip to main content

Function: validateMonitorHostAndPort()

function validateMonitorHostAndPort(monitor: Monitor): string | null;

Defined in: electron/services/monitoring/shared/monitorServiceHelpers.ts:148

Validate that a monitor has the required host and port properties

Parameters

monitor

Monitor

Monitor to validate

Returns

string | null

Error message if validation fails, null if valid