ArrayDeque::offsetValid

(Available since version 1.0)

ArrayDeque::offsetValidReturns whether the requested index is valid

Description

protected bool ArrayDeque::offsetValid ( int $index )

Checks whether the requested index index is valid.

Parameters

index

The index being checked.

Return Values

TRUE if the requested index is valid, otherwise FALSE.

To Top