instance-p [Function]
Purpose
The instance-p function tests whether a given object is an instance of a Loom concept.
Syntax
instance-p object
Arguments
The object argument is any object.
Value
The instance-p function returns t if object is a concept, relation, Loom instance, CLOS instance, or knowledge-base.
Examples
(instance-p (fc Person)) ==> T
(instance-p (fr age)) ==> T
(instance-p (fi Joe)) ==> T
(instance-p (find-kb "USER-KB")) ==> T
(instance-p 3) ==> NIL
(instance-p 'Joe) ==> NIL
See Also
Last modified: Jun 1 1995