Which one of the following functions is used to determine object type?
A
obj_type()
B
type()
C
is_a()
D
is_obj()
Correct Answer: is_a()
The is_a() function returns true if object belongs to a class type or if it belongs to a class that is a child of that class. Or else false is returned.