Fields
Sample data
| Field | Value |
|---|---|
| Array | { "a": "sale", "b": "featured", "c": "seasonal" } |
sale and featured appear in the allowed set, so the rest are dropped. The two survivors keep their original positions (0 and 3) from the input list.
Returns only the values that exist in both the input and the supplied data.
| Field | Value |
|---|---|
| Array | { "a": "sale", "b": "featured", "c": "seasonal" } |
sale and featured appear in the allowed set, so the rest are dropped. The two survivors keep their original positions (0 and 3) from the input list.