MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / extractEventName

Function extractEventName

scripts/ufs_statistic_old.js:809–811  ·  view source on GitHub ↗
(log)

Source from the content-addressed store, hash-verified

807 );
808}
809function extractEventName(log) {
810 return /: (.*?) \(/.exec(log)?.[1] || "";
811}
812function extractTotalCount(log) {
813 return / -> (\d+)/.exec(log)?.[1] || "";
814}

Callers 1

onDocumentEndFunction · 0.70

Calls 1

execMethod · 0.45

Tested by

no test coverage detected