chickadee » jiffi » armor-parent

armor-parent armorprocedure

If armor is the child of another armor, returns the parent armor. Otherwise, returns #f. armor must be an instance of any type defined with define-armor-type.

An armor is the "child" of another armor if it wraps part of the parent armor's bare data. For example, an armor returned by an array accessor is a child of the array armor, because it wraps part of the array's bare data.

See also armor-parent-set!.