kinetex - v1.0.0-rc.1
Preparing search index...
isSafeURL
Function isSafeURL
isSafeURL
(
url
:
string
|
URL
,
allowedSchemes
?:
string
[]
)
:
boolean
Validate a URL for safety.
Parameters
url
:
string
|
URL
URL to validate
allowedSchemes
:
string
[]
= ...
Allowed URL schemes
Returns
boolean
True if URL is safe
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
JSR
kinetex - v1.0.0-rc.1
Loading...
Validate a URL for safety.