MCPcopy
hub / github.com/larksuite/cli / normalizeText

Function normalizeText

scripts/issue-labels/index.js:132–134  ·  view source on GitHub ↗

* Normalize issue title and body into a single lowercase string. * * @param {string} title * @param {string} body * @returns {string}

(title, body)

Source from the content-addressed store, hash-verified

130 * @returns {string}
131 */
132function normalizeText(title, body) {
133 return `${String(title || "")}\n\n${String(body || "")}`.toLowerCase();
134}
135
136/**
137 * Infer candidate domain services from issue title and body text.

Callers 2

collectDomainsFromTextFunction · 0.85
scoreTypeFromTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected