Function: isRelationCacheTarget()
ts
function isRelationCacheTarget(name: string): boolean;Reports whether a model identity name is a registered relation-cache TARGET, i.e. some model caches a 1:1 relation pointing at this model.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The model's canonical identity name. |
Returns
boolean
true when the name is a registered cache target.