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

    Function getShapeId

    • Resolves a shape's identifier field name.

      Resolves shape to its target resource shape, then takes the name of its kind: "id" property, mapped to the JSON-LD @id keyword. Yields undefined when shape resolves to no resource shape or declares no identifier property.

      Parameters

      Returns string | undefined

      The identifier property's field name, or undefined when absent

      If shape transitively references itself, producing a circular extends chain