@metreeca/blue - v0.13.1
    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 Optional<readonly string[]>

      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 with no link to break the cycle, or states a target that doesn't narrow the one the link it is reached through overrides