# Function: recordTitle()

```ts
function recordTitle(record, schema): string;
```

Defined in: [packages/core/src/schema/quick-add.ts:43](https://github.com/leifriksheim/minca/blob/main/core/src/schema/quick-add.ts#L43)

What a record is called, in a few words, from the field that names it

## Parameters

| Parameter | Type |
| ------ | ------ |
| `record` | \{ `body`: `unknown`; `collection`: `string`; `key`: `string`; \} |
| `record.body` | `unknown` |
| `record.collection` | `string` |
| `record.key` | `string` |
| `schema` | [`JsonSchema`](https://minca.dev/api/core/type-aliases/JsonSchema.md) \| `null` |

## Returns

`string`
