Skip to content

TypeScript API / laikacms/core/utilities / Url

Variable: Url ​

ts
const Url: object;

Type Declaration ​

combine ​

ts
combine: (...urls) => string;

Parameters ​

ParameterType
...urls(string | null | undefined)[]

Returns ​

string

isAbsolute ​

ts
isAbsolute: (url) => boolean;

Parameters ​

ParameterType
urlstring | null | undefined

Returns ​

boolean

join ​

ts
join: (url1, url2) => string;

Parameters ​

ParameterType
url1string | null | undefined
url2string | null | undefined

Returns ​

string

normalize ​

ts
normalize: (url) => string;

Parameters ​

ParameterType
urlstring | null | undefined

Returns ​

string

Released under the MIT License.