function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
[SELECT Id, IsSandbox FROM Organization LIMIT 1].IsSandbox;
Please run below code
if IsSandbox is return true, it's Sandbox else it's production/developer environment.
Thanks,
Prem Anandh
All Answers
Please run below code
if IsSandbox is return true, it's Sandbox else it's production/developer environment.
Thanks,
Prem Anandh
Make sure your Apex Class Version should be 31.0 or above