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

Function i

packages/utils/renderer/highlight.js:619–623  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

617 }
618 }
619 function i(e, n) {
620 const t = e.input[e.index - 1],
621 r = e.input[e.index + e[0].length];
622 ('.' !== t && '.' !== r) || n.ignoreMatch();
623 }
624 if (e.contains && e.contains.includes('self'))
625 throw Error(
626 'ERR: contains `self` is not supported at the top-level of a language. See documentation.',

Callers

nothing calls this directly

Calls 1

ignoreMatchMethod · 0.80

Tested by

no test coverage detected