last
last(t()) :: any()
last(tab()) :: any()
Get the last item in the table.
iex> tab = XEts.new(:table) |> XEts.insert(x: 1, y: 2) iex> XEts.last(tab) :y