Last[]

✅ Works in Interactive Notebook

Category: Find.

Get lasts item in list.

Syntax

Last[]
Last[[1, 2, 3]]

Arguments

Examples

The following example loads an image, gets the last prediction from the list (predictions are always sorted by confidence in descending order, so this will return the prediction with the lowest confidence), and displays the results.

Load["./cats.png"]
Detect["cat"]
Last[]

See Also

Made with ❤️ by capjamesg