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 > (let a (new :color "black"
                   :model "0"))
it: a
user > (let b (new a
                   :model "12"))
it: b
user > (prototype:get-parents b)
it: (#s(:color "black" :model "0"))