Home > @websublime/schema > StringSchemaType > isURL

StringSchemaType.isURL() method

Test if is a valid url

Signature:

isURL(errorMessage?: string): this;

Parameters

ParameterTypeDescription
errorMessagestringError message

Returns:

this