+ Start a Discussion
srinu jsrinu j 

Map<String, Schema.Sobjecttype> my; if(my.get(s).getDescribe().isCustom()) here s is a string. What is the meaning of these two statements?

Hello Srinu,

1. "s" is name of the object. like it's value can be "Account", etc.
2. These 2 statements basically telling you if the object mentioned in string "s" is custom or not. Your "if" will pass or will be true if you pass custom object API name as value in variable "s".

Hope this helps!

srinu jsrinu j
Thank you Sumit.
Srinu, mark right comment as answer.