<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/functions](./functions.md) &gt; [getFunctions](./functions.getfunctions.md)

## getFunctions() function

Returns a Functions instance for the given app.

<b>Signature:</b>

```typescript
export declare function getFunctions(app?: FirebaseApp, regionOrCustomDomain?: string): Functions;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  app | [FirebaseApp](./app.firebaseapp.md) | The FirebaseApp to use. |
|  regionOrCustomDomain | string | one of: a) The region the callable functions are located in (ex: us-central1) b) A custom domain hosting the callable functions (ex: https://mydomain.com) |

<b>Returns:</b>

[Functions](./functions.functions.md)

