Name

prototype:get-parents

Usage

builtin-function

Syntax

(prototype:get-parents object &key (inherited false))

Description

Returns the list of parent objects of the prototype object object.

user 1 > (let a (new :color "black"
                     :model "0"))
it: #s( :color "black"
        :model "0" )
user 2 > (let b (new a
                     :model "12"))
it: #s( :color "black"
        :model "12" )
user 3 > (prototype:get-parents b)
it: (#s(:color "black" :model "0"))