Ds\Sequence::first

Ds\Sequence::first

(PECL ds >= 1.0.0)

Ds\Sequence::firstReturns the first value in the sequence.

Description

abstract public mixed Ds\Sequence::first ( void )

Returns the first value in the sequence.

Parameters

This function has no parameters.

Return Values

The first value in the sequence.