HasHierarchy
An interface that provides access to a parent entity and child entities.
Declaration
@MainActor @preconcurrency protocol HasHierarchy : EntityMentioned in
Overview
All entities automatically adopt this protocol because the Entity base class does. This adoption gives all entities a collection of methods for managing the hierarchy.