Is this a turtle?
turtlep expression
turtle? expression
Returns true
if the result of expression is a turtle,
otherwise returns false
.
Example:
make "t newt
print turtle? :t
print turtle? #t1
print turtle? this
Output:
True
True
True
See also:
#, turtle - get a turtle
Type predicates
Table of Content