_nextInList
Fetch the next value to this one from the given List --
Function
Anything -> _nextInList
(list) -> The same Type
- Receives
- Something that you expect to find in the List
- list
- An expression that produces a List
- Produces
- The next element in list. None if the received value was at the end, or isn't contained in the list
Given a received value, and a list that contains that value, this returns the next element to that
in the list.
For example, say that your Space has a collection of Fruit, including Apple, Banana, Blackberry, Kiwi and Pear, and you
want to be able to navigate between them. In the Default View for Fruit, you could create a button that goes to the
next one like this:
[[_nextInList(Fruit._instances) -> _linkButton(""Next Fruit"")]]