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
Ckevin1984Ckevin1984 

About collections

if i have the sentence Timesheet__c [] teNew = trigger.new  in my code. How can i know the number of Timesheet it has

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell

teNew.size()