Compute intersection of two lists

Useful for comparing capabilities with required permissions.

Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):


This is a companion discussion topic for the original entry at https://developer.fastly.com/solutions/examples/compute-intersection-of-two-lists