pundit
    Preparing search index...

    Function usePundit

    • A hook for using the policy loaded from the PunditContext.

      Returns { policy: Policy }

      • An object containing the policy loaded into PunditContext.