Kind: Function
Source: atloria-monorepo/apps/api/src/tours/tour-targeting.ts
Segment filter: an experience with no required segments targets everyone; otherwise at least one declared visitor segment must intersect (case- and whitespace-insensitive).
Signature
tsfunction segmentsMatch(required: string[] | undefined | null, provided: string[] | undefined | null): boolean
Parameters
| Name | Type |
|---|---|
required | `string[] |
provided | `string[] |
Returns: boolean
Was this page helpful?