MCPcopy Create free account
hub / github.com/NativeScript/firebase / isCustomDomain

Function isCustomDomain

packages/firebase-functions/index.ios.ts:229–231  ·  view source on GitHub ↗

Check whether a regionOrCustomDomain string is a Custom Domain for the http trigger, such as “https://mydomain.com” @param regionOrCustomDomain(string): Text to parse @return boolean: TRUE if a CustomDomain; FALSE if not

(regionOrCustomDomain: string)

Source from the content-addressed store, hash-verified

227 @return boolean: TRUE if a CustomDomain; FALSE if not
228 */
229function isCustomDomain(regionOrCustomDomain: string): boolean {
230 return !isRegion(regionOrCustomDomain);
231}

Callers 1

constructorMethod · 0.85

Calls 1

isRegionFunction · 0.85

Tested by

no test coverage detected