# FontRegistry.getDefinition()

```ts
getDefinition(id: string): FontDefinition | undefined
```

One entry of the catalog, by id.

- Kind: method
- Since: 1.0.0

| Parameter | Type | Description |
| --- | --- | --- |
| `id` | `string` | The font's id. |

Returns `FontDefinition | undefined`: `undefined` when no font has that id.

```ts
const brand = fonts.getDefinition('brand');
```

Part of [FontRegistry](https://kernstra.com/docs/web-sdk/api/fontregistry) in the Kernstra Web SDK 1.0.0 API reference.

Web page: https://kernstra.com/docs/web-sdk/api/fontregistry/getdefinition
