[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Symbols and classes
- To: firstname.lastname@example.org
- Subject: Re: Symbols and classes
- From: kab (Kim Barrett)
- Date: Sat, 20 Jun 92 14:50:37 EST
- Cc: email@example.com
> How to test that a symbol corresponds to a class in CLOS ?
> I know about the function Find-class (symbol) but I want to get nil and not
> an error if the symbol is not denoting a class.
This is controled by the optional second argument to FIND-CLASS, called errorp.
If this argument is true or unsupplied (the default is true) then an error is
signaled if the symbol doesn't name a class. If the argument is false then NIL
is returned in that situation.