MCPcopy Index your code
hub / github.com/zxlie/FeHelper / lookBack

Function lookBack

apps/code-beautify/content-script.js:40–40  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

38 };
39
40 let lookBack = (str) => source_text.substring(pos - str.length, pos).toLowerCase() === str;
41
42 let indentString = source_text.match(/^[\r\n]*[\t ]*/)[0];
43 let singleIndent = Array(indentSize + 1).join(indentCharacter);

Callers 1

cssBeautifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected