MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / parseLineList

Function parseLineList

Script/siteconfig.js:85–90  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

83 }
84
85 function parseLineList(value) {
86 return String(value || "")
87 .split(/\r?\n/)
88 .map((item) => item.trim())
89 .filter(Boolean);
90 }
91
92 function formatLineList(value) {
93 return Array.isArray(value) ? value.filter(Boolean).join("\n") : "";

Callers 1

saveConfigurationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected