MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / isDocumentModel

Function isDocumentModel

packages/designer/src/document/document-model.ts:924–926  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

922}
923
924export function isDocumentModel(obj: any): obj is IDocumentModel {
925 return obj && obj.rootNode;
926}
927
928export function isPageSchema(obj: any): obj is IPublicTypePageSchema {
929 return obj?.componentName === 'Page';

Callers 2

openMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…