Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

buildIdentity

ソース

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