Gmagick::haspreviousimage

(PECL gmagick >= Unknown)

Gmagick::haspreviousimageChecks if the object has a previous image

說明

public Gmagick::haspreviousimage(): mixed

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.

錯誤/異常

錯誤時拋出 GmagickException