IFClite TypeScript API
    Preparing search index...

    Function countJsonldNodes

    • Count the @graph nodes in an IFC-Lite-generated JSON-LD export. Zero means the document describes no entities.

      The graph is parsed rather than pattern-matched: "@id" also appears on nested property-set and quantity-set objects, so counting occurrences would over-report and let an entity-free document look populated.

      Parameters

      • jsonld: Uint8Array

      Returns number