tf = isgraphics(H) returns
true for elements of
H that are valid graphics objects and false where elements are not valid graphics objects or are graphics
objects that have been deleted.
tf = isgraphics(H,type) returns true for elements of H that
are valid graphics objects of the type specified by the type argument.
An object type is the value contained in the object’s Type property.
tf — result logical array | empty GraphicsPlaceholder array
Result, returned as a logical array or an empty GraphicsPlaceholder array.
If the result is a logical array, 1 indicates elements
of the input array that are valid, and 0 indicates
elements that are invalid. The result is an empty GraphicsPlaceholder array
when the input array is empty.