dvIsContentSecurityPolicyOrigin function

bool dvIsContentSecurityPolicyOrigin(
  1. String source
)

Whether source is an origin a module may add to a policy.

Implementation

bool dvIsContentSecurityPolicyOrigin(String source) =>
    _origin.hasMatch(source);