This example shows you how to query the type of the ename attribute of the emp table.
ename
emp
(attribute-type [ename] [emp]) -> :char
LispWorks User Guide and Reference Manual - 21 Dec 2011