php8.5
Home/ Manual/ imagick / imagick/ Imagick::hasPreviousImage

Imagick::hasPreviousImage

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Checks if the object has a previous image

Description

Imagick::hasPreviousImage(): bool

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

Parameters Parameters

Return Values

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

Source: reference/imagick/imagick/haspreviousimage.xml · from the official PHP manual (php/doc-en)