Function: validateMonitorHostAndPort()
validateMonitorHostAndPort(
monitor
:Monitor
):null
|string
Defined in: electron/services/monitoring/shared/monitorServiceHelpers.ts:86
Validate that a monitor has the required host and port properties
Parameters
monitor
Monitor to validate
Returns
null
| string
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message if validation fails, null if valid