[F] getClient
function getClient(context, type): undefined | SdkClientReturn the client object for the given namespace or interface, or undefined if the given namespace or interface is not a client.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | TCGCContext | TCGCContext |
type | Interface | Namespace | Type to check |
Returns
undefined | SdkClient
Client or undefined