Function: matchesAllowlist()
matchesAllowlist(
patterns):boolean
True when email is allowed by ANY pattern in patterns. An empty (or
missing) list allows nobody - the gate fails closed.
Parameters
Section titled “Parameters”string
patterns
Section titled “patterns”readonly string[] | undefined
Returns
Section titled “Returns”boolean