This function returns the symbol TRUE if the specified slot in the specified class is public (see section 9.3.3.8). Otherwise, it returns the symbol FALSE. An error is generated if the specified class or slot does not exist.
Syntax
(slot-publicp <class-expression> <slot-name-expression>)
This function returns the symbol TRUE if the specified slot in the specified class can be accessed directly (see section 9.3.3.4). Otherwise, it returns the symbol FALSE. An error is generated if the specified class or slot does not exist.
Syntax
(slot-direct-accessp <class-expression> <slot-name-expression>)