MCPcopy Index your code
hub / github.com/simstudioai/sim / isTableFrame

Function isTableFrame

apps/sim/lib/pptx-renderer/model/slide.ts:32–36  ·  view source on GitHub ↗

* Check whether a graphicFrame contains a table (`a:tbl`).

(node: SafeXmlNode)

Source from the content-addressed store, hash-verified

30 * Check whether a graphicFrame contains a table (`a:tbl`).
31 */
32function isTableFrame(node: SafeXmlNode): boolean {
33 const graphic = node.child('graphic')
34 const graphicData = graphic.child('graphicData')
35 return graphicData.child('tbl').exists()
36}
37
38/**
39 * Check whether a graphicFrame contains a chart.

Callers 1

parseChildNodeFunction · 0.85

Calls 2

childMethod · 0.80
existsMethod · 0.80

Tested by

no test coverage detected