Skip to main content

Function: isValidUrl()

isValidUrl(url): boolean
Defined in: sanitize.ts:660 Validates if a string is a safe URL using Effect Schema.

Parameters

url

string The string to validate.

Returns

boolean true if valid and safe URL, false otherwise.