Imagick::hasPreviousImage

(PECL imagick 2, PECL imagick 3)

Imagick::hasPreviousImageChecks if the object has a previous image

說明

public Imagick::hasPreviousImage(): bool

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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