SUPPRESSWARNINGS
DynamicCast is a class that provides a method to cast a value to a specified type.
Since
11/16/2024
Author Zackary Frazier
SUPPRESSWARNINGS
Given a type and a value, cast the value to the specified type.
public static Object castTo(String castTo, Object value)
Name | Type | Description |
---|---|---|
castTo | String | String - ApexTypes |
value | Object | Object |
Object
,[object Object]
IllegalArgumentException: