@smokeballdev/smokeball-client-sdk


Function: get()

get(): Api

Creates the entry point to the Smokeball Client Sdk.

Returns

Api

sdk instance if the Smokeball app is loaded and interoperability is possible.

null when the Smokeball app is not loaded.

Example

const sdk = SmokeballClientSdk.get();
if (sdk != null) {
  // Interoperability with Smokeball is possible.
}