Skip to content

@mega-yfue/eufy-sdk / rankResults

Function: rankResults()

ts
function rankResults(results): ProbeResult[];

Rank probe results with granted instances first (stable order otherwise). Pure — unit-testable without a real network connection.

Parameters

results

ProbeResult[]

Returns

ProbeResult[]

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.