@shumoku/core · 0.4.0 · function
asEntityId
Trust-boundary cast — DB reads, registry mint, wire-format parse. Use ONLY at: mint, DB row reads, HTTP param boundaries, and tests. If you find yourself casting mid-logic, fix the signature above you instead.
asEntityId(id: string): EntityId Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
id | string | No additional description. | — |
Returns
EntityId