@shumoku/core · 0.4.2 · 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 libs/@shumoku/core/src/libs/@shumoku/core/src/models/types.ts:112