Imagick
PHP Manual

Imagick::hasNextImage

(PECL imagick 2.0.0)

Imagick::hasNextImageChecks if the object has more images

Description

bool Imagick::hasNextImage ( void )

Returns TRUE if the object has more images when traversing the list in the forward direction.

Return Values

Returns TRUE if the object has more images when traversing the list in the forward direction, returns FALSE if there are none.


Imagick
PHP Manual