domainExistsPortal

Function

Check if an item exists with the specified domain keyword

  • domainExistsPortal(hostname: string, hubRequestOptions: IHubRequestOptions) : Promise<boolean>

Parameters

Parameter Type Default Notes
hostname Required string

to check for

hubRequestOptions Required IHubRequestOptions

Returns

Promise<boolean>

Function defined in packages/common/src/sites/domains/domain-exists-portal.ts:9