From 976fe910d3fa77909d847ab32e21c1627fed97ab Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 18 Jun 2024 16:05:47 +0100 Subject: Added last function --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 68e4fbf..6106026 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,7 @@ Other built-in functions are: * `function?(value)`: returns true if a value is a function * `head(list)`: returns the first element of a list * `tail(list)`: returns the end of a list excluding the first element +* `last(n)`: get last item of n (for lists and strings) * `empty?(list)`: returns true if a list is empty * `size(list)`: returns the size of a list or a string * `min(list)`: returns the smaller value in a list -- cgit v1.2.3