echo type(sparky) # Animal echo type(sparky[]) # Animal:ObjectType Run
Since `Animal` is defined as a `ref object`, you can deference it get the underlying `object`, and `object` types have have default printers in Nim.
echo type(sparky) # Animal echo type(sparky[]) # Animal:ObjectType Run
Since `Animal` is defined as a `ref object`, you can deference it get the underlying `object`, and `object` types have have default printers in Nim.