domainExists
Check if a domain entry exists. Different from lookupDomain in that this will return true/false, where as lookupDomain will return the domain entry or throw. However, lookupDomain can work with ArcGIS Enterprise. Will throw if used in Portal.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
hostname Required | string |
Domain entry to check for |
|
hubRequestOptions Required | IHubRequestOptions |
Returns
Promise<boolean>
Function defined in common/src/sites/domains/domain-exists.ts:15