Skip to main content

Function: createFirstUrlTitleSuffixResolver()

function createFirstUrlTitleSuffixResolver(args: {
fields: readonly MonitorUrlField[];
monitorType: string;
}): (monitor: Monitor) => string;

Defined in: electron/services/monitoring/utils/monitorTitleSuffixResolvers.ts:125

Creates a title suffix resolver using the first populated URL field.

Parameters

args

fields

readonly MonitorUrlField[]

monitorType

string

Returns

(monitor: Monitor) => string