Returns an Option with the last index at which a given element can be found in the list, or None if it is not present. The list is searched backwards.
Option
None
Element to search.
Linked list.
Last index of the list element matching the provided value.
Returns an
Optionwith the last index at which a given element can be found in the list, orNoneif it is not present. The list is searched backwards.