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

Function remove

src/components/inputhints/index.js:241–246  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

239 hints.push(item);
240 },
241 remove(item) {
242 const index = hints.indexOf(item);
243 if (index > -1) {
244 hints.splice(index, 1);
245 }
246 },
247 removeIndex(index) {
248 hints.splice(index, 1);
249 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected