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

    Type Alias AddOfType<Type>

    AddOfType: <T extends Thing>(
        thing: T,
        property: Url | UrlString,
        value: Type,
    ) => T

    Type Parameters

    • Type

    Type Declaration

      • <T extends Thing>(thing: T, property: Url | UrlString, value: Type): T
      • Type Parameters

        Parameters

        • thing: T

          Thing to add a value to.

        • property: Url | UrlString

          Property on which to add the given value.

        • value: Type

          Value to add to thing for the given property.

        Returns T

        A new Thing equal to the input Thing with the given value removed for the given Property.