MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / targetNodeIsEnd

Function targetNodeIsEnd

src/pages/Workspace/BluePrint.jsx:198–204  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

196
197 }
198 const targetNodeIsEnd = (node) => {
199 // edge的 target是否为结尾(为element)
200 if (node.type === 'element') {
201 return true
202 }
203 return false;
204 }
205 const uniqueArray = (arr, type) => {
206 const hash = {};
207 let temp = []

Callers 1

findFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected