Mondoo Docs
Built-in FunctionsArray

last

last

Return the last element of an array.


Examples

Get the last installed package:

packages.map(name).last

On this page