Skip to content

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.

GatePathRule

string

boolean