Reference

safeUrlAttributeValue

Returns the original URL attribute value when it is safe, otherwise undefined.

Signature

function safeUrlAttributeValue(name: string, value: string): string | undefined