# buildIdentity

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

@shumoku/core · 0.4.0 · function

# buildIdentity

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-kit/stamp.ts#L61)

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

Build an \`Identity\` from raw parts, dropping empty values. Returns \`undefined\` when nothing identifying was supplied (so callers don't stamp an empty identity object that the resolver would treat as \`unbound\`).

```
buildIdentity(parts: IdentityParts): Identity | undefined
```

## パラメーター

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

## 戻り値

```
Identity | undefined
```

[`libs/@shumoku/core/src/plugin-kit/stamp.ts:61`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-kit/stamp.ts#L61)
