Skip to main content

AbstractDIDCommTransport.isServiceSupported() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Returns true if this transport is suitable for the provided DID Document service section, otherwise false.

Signature:

abstract isServiceSupported(service: any): boolean;

Parameters

ParameterTypeDescription
serviceany

The DID Document service section

This API may change without a BREAKING CHANGE notice.

Returns:

boolean