@inrupt/solid-client
    Preparing search index...

    Function setThing

    • Insert a [[Thing]] into a [[SolidDataset]], replacing previous instances of that Thing.

      Type Parameters

      • Dataset extends Readonly<{}>

      Parameters

      • solidDataset: Dataset

        The SolidDataset to insert a Thing into.

      • thing: Thing

        The Thing to insert into the given SolidDataset.

      Returns Dataset & Readonly<{}> & {
          internal_changeLog: { additions: Quad[]; deletions: Quad[] };
      }

      A new SolidDataset equal to the given SolidDataset, but with the given Thing.