So this is the latest documentation I can find. You'll note that you have this API listed three different ways:
But none of them work! All throw an error "not a function".
Thank you for reaching out to us.
Could you please try with the following and update the thread?
Yes that works, thank you!