MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / action

Method action

src/monogatari.ts:894–896  ·  view source on GitHub ↗

* @static action - Access to an specific action class * * @param {string} id - ID of the action you want to access to. * @return {Action} - Returns the action that matches the given ID

(id: string)

Source from the content-addressed store, hash-verified

892 * @return {Action} - Returns the action that matches the given ID
893 */
894 static action (id: string): StaticAction | undefined {
895 return this._actions.find ((a) => a.id.toLowerCase () === id.toLowerCase ());
896 }
897
898 /**
899 * @static registerComponent - Register a Component to the components list.

Callers 4

preloadMethod · 0.95
preload.spec.jsFile · 0.45
unload.spec.jsFile · 0.45
commands.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected