static Bool ai_matchObjectWithMultipleVars(LS vars, O result, SS matches) {
  if (l(vars) == 2 && shortClassNameIs(result, 'Pair))
    ret ai_matchMulti(vars, ll(strGet(result, 'a), strGet(result, 'b)), matches);

  if (l(vars) == 3 && shortClassNameIs(result, 'T3))
    ret ai_matchMulti(vars, ll(strGet(result, 'a), strGet(result, 'b), strGet(result, 'c)), matches);
    
  if (result cast Collection)
    if (l(result) == l(vars))
      ret ai_matchMulti(vars, allToString(result), matches);

  null;
}