13.1 Methods common to all data types

class()
The class() method returns the class prototype of an object.

contents()
The contents() method returns a list of all the methods and internal variables of an object.

data()
The data() method returns a list of all the internal variables (not methods) of an object.

methods()
The methods() method returns a list of the methods of an object.

str()
The str() method returns a string representation of an object.

type()
The type() method returns the type of an object.