Relation [Concept]


Purpose

The Relation predicate tests whether a given object is a Loom relation.

Syntax

Relation object

Argument

The object argument is any object.

Value

The Relation predicate returns t if object is a binary or n-ary relation.

Examples

(ask (Relation age)) ==> T 
(retrieve ?x (Relation ?x)) ==> (|R|AGE |R|BINARY-TUPLE |R|= \ldots)

See Also

Last modified: Jun 1 1995