function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mack DsozaMack Dsoza 

ANY means

In Debug log, I see most of the time....

System.Debug(ANY)

 

Please tell me that what is exactly means by ANY here...

Ray DehlerRay Dehler

It means that the method accepts any type there.

 

So you can do System.debug(String), System.debug(SObject), System.debug(Exception), etc...