Validate, but never activate or fetch, an external hyperlink target.
Declaration
function isSafeExternalHyperlink(url: string): booleanParameters
url: stringrequiredThe link target, such as https://example.com.
Returns
booleantrue only for a bounded https: URL without user name or password, or a mailto: address.