PageArray/WireArray


Getting Items

$a->last()

Introduced in Version 2.0

Description

Returns the last item in the WireArray.

$skyscraper = $skyscrapers->last();

Returns the last item in the $skyscrapers array, or NULL if the array is empty.

Post Comment