I'm struggiling to understand this line of code:
I've read on the Apex Developer Guide that
isDeletable is a method of the DescribeSObjectResult class that returns true if the object is deletable from the current user and false otherwise but I still don't understand the line of code mentioned above.
How the access is done if there is no reference to the DescribeSObjectResult class? I can't figure this out.
Schema is a namespace, sObjectType is a class inside the Schema namespace and Contact is an inner class of the sObjectType class without an
isDeletable method, so the method shouldn't be callable because it doesn't exsist in the Contact class and there's no reference to the DescribeSObjectResult class, but the code works. Where am I wrong?