Is this a plot?

plotp expression
plot? expression

Returns true if the result of expression is a plot, otherwise returns false.

Example:

make "p newp "pool
print plot? :p
print plot? #p1
print plot? this

Output:

True
True
False

See also:

#, turtle - get a turtle

Type predicates

Table of Content