apex list empty check , List null check in salesforce

 apex list empty check , in salesforce


if(records!=null && !records.isEmpty())


Here "records" are list of records.

Comments

Popular posts from this blog

Multi currency in Salesforce - Revenue Cloud Advance - Revenue Lifecycle Management

How to get sessionid and salesforce org base url in salesforce

rollup summary with bulk record handling without hitting governer limits