4.4. Object Utility Functions - isa() and can()

isa() is a special method that is accasible in every object. When invoked with the name of a package as an argument, it returns whether or not this object inherits from this package (directly or indirectly).

can() is a method that determines if an object can execute the method by the name given to it as argument.


Written by Shlomi Fish