Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

buildIdentity

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

Parameters

Parameter Type Description Default
parts IdentityParts No additional description.

Returns

Identity | undefined

libs/@shumoku/core/src/plugin-kit/stamp.ts:61