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

Function has

src/lib/actionStack.js:126–129  ·  view source on GitHub ↗

* Check if action with given id exists in stack * @param {String} id * @returns {Boolean}

(id)

Source from the content-addressed store, hash-verified

124 * @returns {Boolean}
125 */
126 has(id) {
127 for (let act of stack) if (act.id === id) return true;
128 return false;
129 },
130 /**
131 * Sets a mark to recently pushed action
132 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected