MCPcopy
hub / github.com/botui/botui / _checkAction

Function _checkAction

src/scripts/botui.js:303–307  ·  view source on GitHub ↗
(_opts)

Source from the content-addressed store, hash-verified

301 }
302
303 function _checkAction(_opts) {
304 if(!_opts.action && !_opts.actionButton && !_opts.actionText) {
305 throw Error('BotUI: "action" property is required.');
306 }
307 }
308
309 function _showActions(_opts) {
310

Callers 2

_showActionsFunction · 0.85
botui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…