Ds\Deque::last

Ds\Deque::last

(PECL ds >= 1.0.0)

Ds\Deque::lastReturns the last value.

Description

public mixed Ds\Deque::last ( void )

Returns the last value in the deque.

Parameters

This function has no parameters.

Return Values

The last value in the deque.

Errors/Exceptions