MCPcopy Create free account
hub / github.com/DavidWells/analytics / getBody

Function getBody

scripts/docs/parse/index.js:242–247  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

240}
241
242function getBody(node) {
243 if (node.type === 'ExportDefaultDeclaration') {
244 return node.declaration.body
245 }
246 return node.body
247}
248
249function resolveRight(node) {
250 if (node.type === 'Literal') {

Callers 1

getFunctionDetailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected