Skip to content

@mega-yfue/eufy-sdk / hasProvidedAction

Function: hasProvidedAction() ​

ts
function hasProvidedAction(capabilities, action): boolean;

Whether this resolved set owns a provider-backed member with the given action name.

Parameters ​

capabilities ​

ReadonlySet<Capability>

action ​

string

Returns ​

boolean

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.