MCPcopy Index your code
hub / github.com/ChatGPTBox-dev/chatGPTBox / normalizeText

Function normalizeText

src/config/index.mjs:889–891  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

887const CONFIG_SCHEMA_VERSION = 1
888
889function normalizeText(value) {
890 return typeof value === 'string' ? value.trim() : ''
891}
892
893function normalizeProviderId(value) {
894 return normalizeText(value)

Calls

no outgoing calls

Tested by

no test coverage detected