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

Function formatLineList

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

Source from the content-addressed store, hash-verified

90 }
91
92 function formatLineList(value) {
93 return Array.isArray(value) ? value.filter(Boolean).join("\n") : "";
94 }
95
96 function getListWithDefault(config, defaultConfig, key) {
97 if (Array.isArray(config?.[key]) && config[key].length > 0) {

Callers 1

loadConfigForEditingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected