first
Return the first element of an array.
Examples
Get the first package installed on the system:
packages.map(name).first
first
Return the first element of an array.
Get the first package installed on the system:
packages.map(name).first