For most code stuff you don't check the answer against the documentation - you write the code and run it and see if it works.
That's always a better signal than anything that official documentation might tell you.
That seems like a strong error, you have no idea if it works or if it just happens to work
That seems like a strong error, you have no idea if it works or if it just happens to work