Wiki
Show
Ignore:
Timestamp:
04/16/09 22:18:35 (3 years ago)
Author:
Chuck.Esterbrook
Message:

Introduce .typeOf as a cross platform means of getting the type of an object.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/HowTo/400-DeepCopyObjects.cobra

    r1236 r2019  
    1414    def copy(obj as Object) is shared 
    1515        require 
    16             obj.getType.isSerializable 
     16            obj.typeOf.isSerializable 
    1717        body 
    1818            try