IFClite TypeScript API
    Preparing search index...

    Function matchCapability

    • Returns true iff grant covers requested.

      The grant is the user-approved capability; the requested is what the extension is invoking. Mismatched scope/action returns false. Target patterns are matched per segment.

      Parameters

      Returns boolean