type(of:) not working in swift playgrounds

In am using the type(of:) function to try to find the custom class name of a node in swift playgrounds but all this function is returning is SKSpriteNode.