Instanceλ() determines if a value is the first, second, third, etc. instance of that value within the array.
Instanceλ( Values )
Values
(Required) An array of values to evaluate as to which is 1st, 2nd, 3rd, etc. in the array.
In this example we want to know the instance number of each value in an array. The first value is 5 and instance shows it is the first instance of a 5 in the values array. The next value is 3. It is the first instance of a 3 in the values array. The third value is 4. It is the first instance of a 4 in the values array. The fourth value is 3. It is the second instance of a 3 in the values array.