method Context.doesServiceExist
Context.doesServiceExist(id: string): boolean

Check if the specified service exists in the context.

Parameters

id: string

the ID of the desired service.

Return Type

boolean

Usage

import type Context from ".";