# Function: getJsonLdId()

> **getJsonLdId**(`object`): `string` \| `undefined`

Get a JSON-LD id.

## Parameters

### object

`unknown`

The object to get the id from.

## Returns

`string` \| `undefined`

The JSON-LD id.
