---
url: >-
  https://canary.warp-drive.io/api/@warp-drive/holodeck/functions/getIsRecording.md
description: >-
  Reports whether Holodeck mocks are recorded to fixtures, using the
  `setIsRecording` override when set or the build-time `SHOULD_RECORD` flag
  otherwise.
---

# &#x20;getIsRecording()

```ts
function getIsRecording(): boolean;
```

Defined in: [index.ts:266](https://github.com/warp-drive-data/warp-drive/blob/48dc0d277b98008082669dadc6a52e5c5682ef8e/packages/holodeck/src/index.ts#L266)

## Returns

`boolean`
