[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there a way to tell if a class symbol is a variable, method etc


I can get a list of symbols from a class, but is there a way to find out if they are methods etc.

There appears to be ways to call and get the value and find out if a symbol exists, but is there a way to find out what type of symbol it is?

For instance,  using in a _read or _write class function to know which symbols to save or load on write or read of the object.

right now you do a getproperty on every symbol but sometimes it does not return an error on a method... or constant etc.

--
~~~~ Brian

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Follow-Ups:
Re: Is there a way to tell if a class symbol is a variable, method etcBruce Steers <bsteers4@xxxxxxxxx>