# tilingLeafInstanceId
Source: https://docs.maelstrom-ai.co/0.2/reference/protocol/functions/tilingleafinstanceid/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> **tilingLeafInstanceId**(`node`): [`InstanceId`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/instanceid/) | `null`

Defined in: packages/protocol/src/lib/response.ts:225

Reads the Instance a leaf names, or returns null for a node that is not a leaf token.

The counterpart of [parseTilingSplitToken](https://docs.maelstrom-ai.co/0.2/reference/protocol/functions/parsetilingsplittoken/): a node that yields neither an Instance here nor a split there occupies its slot as empty space.

## Parameters

### node

[`TilingNode`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/tilingnode/)

## Returns

[`InstanceId`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/instanceid/) | `null`
