Returns the previous object to obj.
pre(Object obj) | |||
---|---|---|---|
Argument | Object | obj | Object for which the predecessor is sought. |
Return value | Object |
Previous object to obj. If obj is the first object of the list, <null> is returned. If obj is not included in the list, <null> is also returned. |
Formula | Result |
---|---|
=List{1,2,3,4}.pre(3) | 2 |