Skip to content

Function: toEntityId()

toEntityId(type, rawId): string

Defined in: packages/fate/src/ref.ts:16

Builds the canonical cache ID for an entity.

Parameters

type

string

rawId

string | number

Returns

string

Released under the MIT License