last function:
The last item in a list.
Examples:
- running:
(last [1, 5, 1.1])will give:1.1
- running:
(last [])will return nothing
- running:
(last ["text"])will give:"text"
- running:
(last "text")will return nothing
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
last function:The last item in a list.
(last [1, 5, 1.1])
will give: 1.1(last [])
will return nothing(last ["text"])
will give: "text"(last "text")
will return nothing