next up previous

12.16.1.9 Testing whether a Slot is Public

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>)

12.16.1.10 Testing whether a Slot can be Accessed Directly

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>)


next up previous