This is one of the reasons I can't see much value in ChatGPT. Anything it gives me will be at most as accurate as the docs. Most of the time I either know what I'm searching for or I can glance at the TOC.
Docs are a lot more concise than general writing. I don't like having to read paragraphs and redundant explanations, the docs include types and small code examples which are easier for me to understand.
The docs are especially good whenever I have to deal with tricky edge cases and precise semantics, because most of the time the developers know these are tricky so they document them well (like I said, I'm fortunate to have good documentation).