Help Contents / Workspace Management / Workspace Predicates / definedP

definedP name
defined? name

outputs TRUE if the input is the name of a user-defined procedure, including a library procedure.  (However, Logo does not know about a library procedure until that procedure has been invoked.) 

Examples: 

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


previous: PrimitiveP	next: NameP
