@metreeca/blue - v0.12.0
    Preparing search index...

    Function getShapeClasses

    • Resolves the classes the resources a shape describes belong to on top of their own.

      Parameters

      • shape: Lazy<Shape>

        The shape to resolve, possibly deferred to break definition cycles

      Returns readonly string[] | undefined

      The classes the target shape inherits, empty where it extends nothing stating one, or undefined where shape points at no resource

      TraceError Where a deferred definition reaches itself, or states a target that doesn't narrow the one the link it is reached through overrides