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

    Function isAcpControlled

    • Verify whether the access to the given resource is controlled using the ACP system.

      Parameters

      • resource: string | Url

        The target resource

      • Optionaloptions: {
            fetch?: {
                (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                (input: string | URL | Request, init?: RequestInit): Promise<Response>;
            };
        }

        Optional parameter options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API.

        • Optionalfetch?: {
              (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
              (input: string | URL | Request, init?: RequestInit): Promise<Response>;
          }

      Returns Promise<boolean>

      True if the access to the resource is controlled using ACP, false otherwise.

      1.14.0.