I have a list of items in a filter called inrecipe-filter, generated from tiddler fields (like apple, banana, raspberry, orange,…) (first list = first array)
I have a dictionary tiddler say fruits, contains key:value pairs (second list = second array)
I want to see if my fruits contains any of the item in the first list (inrecipe-filter)
In brief
<$if filter="fruits contain any item of items" variable=fr>
display the name
</$list>
Extra info (pseudo code)
<$let inrecipe-filter="[tag[Singa Salad]]"
fruits = "[[fruitdict]indexes[]]"
>
<$list filter=" is any of inrecipe exist in fruits" >
<<currentTiddler>>
</$list>
</$let>
@twMat Great solution. But :intersaction is not usable when you have a single list as input just like here:
{{{ [[enlist:raw[a b c a d b e e]] }}}
T+hat,s why I made a (simple) uniq operator that can see which titles are present more than once (please import it from included json) in the code below.