What does LoadMainAssetAtPath return exactly ?

Let's say I call LoadMainAssetAtPath on a GameObject containing multiple components and children GameObjects. What is exactly the Object returned by the method ?

My guess is the root GameObject cast to an Object. Am I wrong ?

yes it returns the root of the hierarchy