Imagick::valid
(PECL imagick 2, PECL imagick 3)
Imagick::valid — Checks if the current item is valid
Description
public Imagick::valid(): bool
Checks if the current item is valid.
Parameters
This function has no parameters.
Return Values
Returns true
on success.
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.valid.php