[HARLEQUIN][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


Function SLOT-EXISTS-P

Syntax:

slot-exists-p object slot-name => generalized-boolean

Arguments and Values:

object---an object.

slot-name---a symbol.

generalized-boolean---a generalized boolean.

Description:

Returns true if the object has a slot named slot-name.

Examples: None.

Affected By:

defclass, defstruct

Exceptional Situations: None.

See Also:

defclass, slot-missing

Notes:

Although no implementation is required to do so, implementors are strongly encouraged to implement the function slot-exists-p using the function slot-exists-p-using-class described in the Metaobject Protocol.


The following X3J13 cleanup issue, not part of the specification, applies to this section:


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996, The Harlequin Group Limited. All Rights Reserved.