MCPcopy
hub / github.com/tldraw/tldraw / geoShape

Function geoShape

packages/tldraw/src/lib/shapes/geo/GeoShapeUtil.test.tsx:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 })
48
49 const geoShape = () => {
50 const shape = editor.getShape(ids.geo)!
51 assert(editor.isShapeOfType(shape, 'geo'))
52 return shape
53 }
54 const lineShape = () => {
55 const shape = editor.getShape(ids.line)!
56 assert(editor.isShapeOfType(shape, 'line'))

Callers 1

Calls 2

getShapeMethod · 0.80
isShapeOfTypeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…