hasHostExports
hasHostExports(
ctx?):boolean
Defined in: agent/subagent.ts:236
Check if an execution context has valid host exports.
Useful for conditional logic when gadgets may run standalone or via agent.
Parameters
Section titled “Parameters”Execution context
Returns
Section titled “Returns”boolean
True if host exports are available