---
jsApi: true
title: "[F] isDefaultResponse"

---
```ts
isDefaultResponse(program, entity): boolean
```

Check if the given model has been mark as a default response.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `program` | `Program` | TypeSpec Program |
| `entity` | `Type` | Model to check. |

## Returns

`boolean`

boolean.
