objectp expression object? expression
Returns true if the result of expression is an object, a plot or a turtle, otherwise returns false.
true
false
Example:
make "t newo print object? :t print object? #o1 print object? this
Output:
True True True
See also:
#, turtle - get a turtle
Type predicates
Table of Content