# Type alias BlockerFunction

BlockerFunction: ((args) => boolean)

#### Type declaration

- - (args): boolean

  - #### Parameters

    - args: {
      currentLocation: Location;
      historyAction: NavigationType;
      nextLocation: Location;
      }

      - ##### currentLocation: Location

      - ##### historyAction: NavigationType

      - ##### nextLocation: Location

    #### Returns boolean

- Defined in common/temp/node_modules/.pnpm/@remix-run+router@1.16.1/node_modules/@remix-run/router/dist/router.d.ts:477