testing for a symbol

Lukas Renggli renggli at gmail.com
Wed Dec 6 19:07:05 UTC 2006


> How can I test for something being entered is a symbol or not? I want it to
> be.

Symbol hasInterned: aString ifTrue: [ :symbol | Transcript show: symbol ]

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list