Skip to main content
Version: Next 🚧

[F] getClient

function getClient(context, type): SdkClient | undefined

Return the client object for the given namespace or interface, or undefined if the given namespace or interface is not a client.

Parameters​

ParameterTypeDescription
contextTCGCContextTCGCContext
typeNamespace | InterfaceType to check

Returns​

SdkClient | undefined

Client or undefined