synchronous
isConnected

Description

Make sure that the crossmark extension is installed and connect with the API

💡

In certain circumstances, this method might return false even if the extension is installed. It is recommended to use the connect method with an approprate timeout before calling this method.


Usage

sdk.sync.isConnected(timeout: number)

Parameters

timeout: number;

Response

boolean;

Example

let isConnected = sdk.sync.isConnected();
 
console.log(isConnected);
// true