iya-sts
    Preparing search index...

    Variable compact

    compact: (document: any, context: any) => Promise<any> = ...

    Type Declaration

      • (document: any, context: any): Promise<any>
      • Compacts a document to a context, in safe mode.

        Parameters

        • document: any

          the JSON-LD document

        • context: any

          the context to compact to

        Returns Promise<any>

        the compacted document