Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.4.2 · function

asEntityId

ソース

APIの説明は英語のcanonical sourceを表示しています。

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

パラメーター

名前 型 説明 既定値
id string 追加説明はありません。 —

戻り値

EntityId

libs/@shumoku/core/src/libs/@shumoku/core/src/models/types.ts:112