teleport-sdk.getlikelydomainid
Home > teleport-sdk > getLikelyDomainId
getLikelyDomainId() function
Convert a domain alias into its DomainId
Signature:export declare function getLikelyDomainId(srcDomain: DomainDescription): DomainId;
Parameters
Parameter | Type | Description |
---|---|---|
srcDomain | DomainDescription | domain alias from DomainDescription |
the un-aliased DomainId