Function: approvalMatches()
approvalMatches(
gate,urls):boolean
Resolve an approval gate against a set of candidate URLs into a concrete
boolean: "none" / "always" pass straight through; a "urls" policy
gates when ANY candidate matches. Empty candidates with a pattern gate
never match (nothing to approve). Reuses the allow-list matcher so approval
globs read exactly like allow-list globs.
Parameters
Section titled “Parameters”readonly string[]
Returns
Section titled “Returns”boolean