Elixir Language IEx Console Tips & Tricks Get value from last command with `v`

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

iex(1)> 1 + 1
2
iex(2)> v
2
iex(3)> 1 + v
3

See also: Get the value of a row with `v`



Got any Elixir Language Question?