Skip to content

@vtj


@vtj / utils / url / getHost

Function: getHost()

getHost(url): string

Defined in: packages/utils/src/url.ts:19

获取指定url的host

Parameters

url

string = ''

Returns

string

Released under the MIT License.