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

    Function getPolicy

    • function is still experimental and subject to change, even in a non-major release.
      

      Get the [[Policy]] with the given URL from an [[SolidDataset]].

      Parameters

      • policyResource: SolidDataset

        The Resource that contains the given Policy.

      • url: string | Url

        URL that identifies this Policy.

      Returns null | ThingPersisted

      The requested Policy, if it exists, or null if it does not.

      1.6.0