CSPExtensions extension
- on
Methods
-
dashify(
) → String - Replaces all Uppercase letters with an dash and lowercase letter.
-
isDirectiveNameInvalid(
) → bool - Validates the given string to be a valid CSP directive.
-
isDirectiveValueInvalid(
) → bool - Validates the given string to be a valid CSP directive.