MCPcopy
hub / github.com/ollm/OpenComic / extract

Function extract

scripts/app.js:194–198  ·  view source on GitHub ↗
(code, string, value = 1)

Source from the content-addressed store, hash-verified

192}
193
194function extract(code, string, value = 1)
195{
196 string = string.match(code);
197 return (string !== null && typeof string[value] != 'undefined') ? string[value] : '';
198}
199
200function capitalize(s)
201{

Callers 5

purgeFunction · 0.70
getLocaleUserLanguageFunction · 0.70
getTokensColorFunction · 0.70
extnameCFunction · 0.70
epubFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected