Function: isContentRelation()
function isContentRelation(doc): boolean;
Defined in: packages/client/src/core/content-transfer.ts:75
Reports whether a document is an application relation.
Relations carry ~domain and no ~class (see isRelation in @docstack/shared), so
they need their own test rather than falling out of isContentDocument.
Parameters
| Parameter | Type | Description |
|---|---|---|
doc | MaybeDoc | Any stored document. |
Returns
boolean