php / 8.1.5 / imagick.hasnextimage.html /

Imagick::hasNextImage

(PECL imagick 2, PECL imagick 3)

Imagick::hasNextImageChecks if the object has more images

Description

public Imagick::hasNextImage(): bool

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

Parameters

This function has no parameters.

Return Values

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.hasnextimage.php