Method code for $list.intersection()

[Turn on line numbering]
arg l1, l2;
var i;

// set intersection of the arguments
return filter i in (l1) where (i in l2);

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon