# Function getBabelExclude

- getBabelExclude(xarcOptions): ((x) => boolean)

- Get a babel exclude function to filter out files that should not transpile.

  #### Parameters

  - xarcOptions: any

    xarc dev options

  #### Returns ((x) => boolean)

  babel exclude function

  - - (x): boolean

    - #### Parameters

      - x: string

      #### Returns boolean

  - Defined in packages/xarc-webpack/lib/util/index.d.ts:8