MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / source

Function source

packages/ast/parse/slack/spec-helpers/index.js:1–3  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

1function source(children) {
2 return children.map((child) => child.source).join('');
3}
4
5function root(children) {
6 return { type: 'root', children, source: source(children) };

Callers 9

rootFunction · 0.70
boldFunction · 0.70
italicFunction · 0.70
strikeFunction · 0.70
userFunction · 0.70
channelFunction · 0.70
commandFunction · 0.70
urlFunction · 0.70
quoteFunction · 0.70

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected