MCPcopy Create free account
hub / github.com/Hashnode/starter-kit / _collapse

Method _collapse

packages/utils/renderer/highlight.js:181–189  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

179 );
180 }
181 static _collapse(e) {
182 'string' != typeof e &&
183 e.children &&
184 (e.children.every((e) => 'string' == typeof e)
185 ? (e.children = [e.children.join('')])
186 : e.children.forEach((e) => {
187 c._collapse(e);
188 }));
189 }
190 }
191 class u extends c {
192 constructor(e) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected