Function inherits()

← Back to Module core



Module core → inherits()

Description

Get the inheritance of an object

inherits(obj)


Parameters


Return Value


Usage Example

a = object("myobj1")
b = object("myobj2")
c = object("myobj3")
 
extend(a, b)
extend(a, c)
 
inherits(a)   ' Returns "myobj2 myobj3"