PrimitiveP

HC Workspace Management Workspace Predicates PrimitiveP
ProcedureP definedP

PrimitiveP name
Primitive? name


outputs TRUE if the input is the name of a primitive procedure (one built into Logo). Note that some of the procedures described in this document are library procedures, not primitives.

Examples:

Primitive? "fd		;true  ;-)
tree
Primitive? "tree		;false  ;-)

ProcedureP definedP