# tupleRowId (@salmonui/data/json)

> The tupleRowId function of @salmonui/data/json: getRowId for tuple rows: the key slot as a string.

Canonical: https://salmonui.dev/docs/reference/data/json/tupleRowId

```ts
import { tupleRowId } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: function

```ts
function tupleRowId(fields: readonly string[], key: string): (row: TupleRow) => RowId;
```

`getRowId` for tuple rows: the key slot as a string.
