@shumoku/core · 0.4.0 · function
buildIdentity
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