map-space-instancesBlackboard Repositoryremove-instance-from-space-instanceparent-ofGoTo Top

parent-of   space-instance => space-instances[Generic Function]

Purpose
Return the parent space instance of a space instance.

Method signatures

parent-of  (space-instance standard-space-instance) => space-instance

Package   :gbbopen

Module   :gbbopen-core

Arguments and values

space-instance     A space instance
space-instances     A proper list

Returns
The parent space instance or nil, if space-instance does not have a parent.

See also
    children-of
    make-space-instance

Examples
Return the parent space instance of the (bb hyp) space instance:

  > (parent-of (find-space-instance-by-path '(bb hyp))
  #<standard-space-instance (bb)>
  >
Return the parent space instance (there is none) of the (bb) space instance:
  > (parent-of (find-space-instance-by-path '(bb))
  nil
  >


The GBBopen Project


map-space-instancesBlackboard Repositoryremove-instance-from-space-instanceparent-ofGoTo Top