MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / isNode

Function isNode

packages/core/src/document/node/node.ts:755–757  ·  view source on GitHub ↗
(node: any)

Source from the content-addressed store, hash-verified

753}
754
755export const isNode = (node: any): node is Node => {
756 return node && node.isNode
757}
758
759export const isNodeSchema = (data: any): data is NodeSchema => {
760 if (!isObject(data)) {

Callers 4

trackMethod · 0.90
replaceChildMethod · 0.85
insertChildFunction · 0.85
ensureNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected