MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / search

Function search

src/components/settingsPage.js:148–153  ·  view source on GitHub ↗

* Search for a setting * @param {string} key

(key)

Source from the content-addressed store, hash-verified

146 * @param {string} key
147 */
148 search(key) {
149 return searchableItems.filter((child) => {
150 const text = child.textContent.toLowerCase();
151 return text.match(key, "i");
152 });
153 },
154 /**
155 * Restore list to original state
156 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected