typeof

Getting object type by constructor name

Finding an objects class