last() is an inbuilt function in julia which is used to return the last element of the specified iterable collection.
- coll: Specified iterable collection.
Returns: It returns the last element of the specified iterable collection.
3 10 9 8
- Getting first element of an array in Julia - first() Method
- Getting first and last set of elements in Julia - front() and tail() Methods
- Getting last index of a collection in Julia - lastindex() Methods
- Getting minimum element along with its index in Julia - findmin() Method
- Getting additive identity element in Julia - zero() Method
- Getting parent array of a specified array in Julia - parent() Method
- Julia end Keyword | Marking end of blocks in Julia
- Julia function keyword | Create user-defined functions in Julia
- Julia continue Keyword | Continue iterating to next value of a loop in Julia
- Julia break Keyword | Exiting from a loop in Julia
- Julia local Keyword | Creating a local variable in Julia
- Julia global Keyword | Creating a global variable in Julia
- Get index of last true value of array in Julia | Array findlast() Method
- Getting an array of all items of a collection in Julia - collect() Method
- Getting ceiling value of x in Julia - ceil() Method
- Getting floor value of x in Julia - floor() Method
- Getting the minimum value from a list in Julia - min() Method
- Getting tuple or range of the valid indices in Julia - axes() Method
- Getting distance in memory between adjacent elements in Julia - stride() and strides() Method
- Getting data type of elements in Julia - typeof() Method
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.