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
Kt YadavKt Yadav 

what is a difference in passing xyz(trigger.new) or xyz((List<Account>)Trigger.new) if both are referring to account context

what is a difference in passing parameter to method xyz(trigger.new) or xyz((List<Account>)Trigger.new) if both are referring to account context
Neetu_BansalNeetu_Bansal
Hi Kt,

Bascially there is no difference, you can pass in any of the way.

Thanks,
Neetu