Best Practices: Environment Checks in NetSuite

function checkEnvironment() {         let environment = runtime.envType;         if (environment === runtime.EnvType.PRODUCTION) {             log.debug(‘Environment Check’, ‘This is the PRODUCTION environment.’);         } else {             log.debug(‘Environment Check’, ‘This is NOT the production environment: ‘… Continue reading Best Practices: Environment Checks in NetSuite