Skip to main content
Version: Latest (0.60.x)

[F] getService

function getService(program, namespace): Service | undefined

Get the service information for the given namespace.

Parameters

ParameterTypeDescription
programProgramProgram
namespaceNamespaceService namespace

Returns

Service | undefined

Service information or undefined if namespace is not a service namespace.