deriveDomain
Hostname of url with a leading www. removed; null if absent/malformed.
import { deriveDomain } from '@threadplane/chat';Declaration · overload 1
export declare function deriveDomain(url?: string): string | null;Parameters
url· optionalstring
Returns
string | null