IEx Last Return
The last item returned in an IEx session is accessible via the v()
function. To get the item, call the function with no argument.
iex()> 1
1
iex()> v()
1
This function takes a negative number as an argument, representing n
steps back through history.