You need to sign in to do that
Don't have an account?
ramesh babu 114
what is the use of system.assert in salesforce
what is the use of system.assert in salesforce
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
1- Asserts that the specified condition is true. If it is not, a fatal error is returned that causes code execution to halt.
2-System.Assert accepts two parameters, one (mandatory) which is the condition to test for and the other a message (optional) to display should that condition be false.
If you want more details about system.assert then please find below link:
https://salesforce-parth.blogspot.in/2016/07/salesforce-systemassertmethods.html
Regards,
Suraj