Next: , Previous: , Up: Symbol   [Index]


1.159.5 Symbol: basic

deepCopy

Returns a deep copy of the receiver. As Symbols are identity objects, we actually return the receiver itself.

keywords

Answer an array of keywords that compose the receiver, which is supposed to be a valid message name (#+, #not, #printOn:, #ifTrue:ifFalse:, etc.)

numArgs

Answer the number of arguments supported by the receiver, which is supposed to be a valid message name (#+, #not, #printOn:, #ifTrue:ifFalse:, etc.)

shallowCopy

Returns a deep copy of the receiver. As Symbols are identity objects, we actually return the receiver itself.