Ds\Deque::first

Ds\Deque::first

(PECL ds >= 1.0.0)

Ds\Deque::firstReturns the first value in the deque.

Description

public mixed Ds\Deque::first ( void )

Returns the first value in the deque.

Parameters

This function has no parameters.

Return Values

The first value in the deque.

Errors/Exceptions