instanceof Keyword in Salesforce Apex

5K views Aug 8, 2023

Using Salesforce Apex, if you want to verify at run time or dynamically whether an object is actually an instance of a particular class, then we can make use of the instanceof keyword. The instanceof keyword in Salesforce Apex can only be used to verify if the target type in the expression on the right of the keyword is a viable alternative for the declared type of the expression on the left. Blog Post: https://www.infallibletechie.com/2015/05/using-instanceof-keyword-in-apex-in.html

#Internet Software
  # Motor Vehicles (By Type)