FunctionsgetDomainWithoutWWWgetDomainWithoutWWW CallablegetDomainWithoutWWW(url: string): undefined | null | stringGets the domain without "www." from a URL.@examplegetDomainWithoutWWW('https://www.example.com'); // 'example.com'getDomainWithoutWWW('http://sub.example.com'); // 'sub.example.com'getDomainWithoutWWW('invalid url'); // null
Gets the domain without "www." from a URL.