ishandle

Returns true if x is a graphics handle; returns false if otherwise.

Syntax

ishandle(h)

Inputs

h
Type: double | integer
Dimension: scalar

Outputs

R
Numerical equivalent true/false.

Example

Simple ishandle example.

ishandle(pi)
ans = 0