jan tolenaar / kiezellisp / index-of-everything

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.

make-html > (let a (new :color "black"
                        :model "0"))
it: a
make-html > (let b (new a
                        :model "12"))
it: b
make-html > (prototype:get-parents b)
it: (#s(:color "black" :model "0"))