[Q] Why is the correct way to as for a Symbol un 3.8 ?

Bert Freudenberg bert at impara.de
Thu Feb 24 12:55:55 UTC 2005


Am 24.02.2005 um 12:52 schrieb Lic. Edgar J. De Cleene:

> I testing split code of Profesor Vuletich in 3.8
>
> And found:
>
> Symbol
> isSymbol
>
>     ^ true.
> So , what is the correct way to ask if #something is a Symbol ?


Why, isSymbol of course. Symbols and MultiSymbols answer true, while 
all other objects answer false. Just look for implementors of isSymbol 
...

- Bert -




More information about the Squeak-dev mailing list