ok, maybe it’s easiest to turn the problem around. applescript seems to be coercing the left-hand side ot the comparison to a list. in other words:
"a" is in {"a", "b", "c”} becomes {“a"} is in {"a", "b", "c”} 1 is in {1, 2, 3} becomes {1} is in {1, 2, 3}
Since trying to coerce a list into a list leaves it unchanged - {5, 3} stays as {5, 3} - {5, 3} is in {{4, 2}, {5, 3}, {6, 4}} returns false, because no subset of the main list contains a 5 and a 3. the left-hand list has to be explicitly presented as a list of lists - {{5, 3}} - in order to force a search for a contained list rather than for a direct subset of the main list.
Note that the following returns true: {5, 3} is in {{4, 2}, {6, 4}, 5, 3}
In other words, it actually seems to make sense. go figure. |