gatePathRuleMatches
gatePathRuleMatches(
rule,normalizedPathname):boolean
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/gates/gates.d.ts:108
Whether one path rule matches an already-normalized request pathname.
prefix is SEGMENT-AWARE: /members matches /members and
/members/anything but NOT /membership; the bare / prefix matches
everything. exact matches the normalized path exactly (so /downloads/
on the wire still matches exact /downloads). Case-insensitivity comes
from both sides being normalized.
Parameters
Section titled “Parameters”normalizedPathname
Section titled “normalizedPathname”string
Returns
Section titled “Returns”boolean