# nodeIdentityKeys

Canonical: https://docs.shumoku.dev/ja/library/api/nodeIdentityKeys
Language: ja

@shumoku/core · 0.4.0 · function

# nodeIdentityKeys

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/identity.ts#L33)

APIの説明は英語のcanonical sourceを表示しています。

Enumerate Node identity keys in priority order. The first match wins during cluster lookup. Caller should also bind \*every\* key to the resulting cluster after a match so subsequent observations collapse correctly even if they only carry a weaker key.

```
nodeIdentityKeys(identity: Identity | undefined): IdentityKey[]
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `identity` | `Identity | undefined` | 追加説明はありません。 | `—` |

## 戻り値

```
IdentityKey[]
```

[`libs/@shumoku/core/src/observation/identity.ts:33`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/identity.ts#L33)
