Are there definitive docs for AppleScript somewhere?

I have been working on a tool the last few days, and I can’t tell you how many times either my google search doesn’t send me to apple’s site at all. OR I get what look like official docs on apple’s site. Then I look through the google AI result, and the AI result is giving me more info, more statement options etc than apple’s own site does!

Is this language a secret or is there a good set of docs around somewhere? When it comes to documentation, php and javascript are miles ahead of applescript.

Also I’ve been “coding” in applescript since 1994.