[ad_1]
So I have an array and I can do:
myArr.lift(0)
…and it gives me option of the value at index 0.
So what actually is happening here? When I try to go to lift definition, IDE takes me to PartialFunction, and I see Array doesn’t inherit from it.
And whats the usecase for using lift?
[ad_2]