react-code-dataset / wp-calypso /client /lib /jetpack /is-jetpack-cloud.ts
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
325 Bytes
import config from '@automattic/calypso-config';
const jetpackCloudEnvironments = [
'jetpack-cloud-development',
'jetpack-cloud-stage',
'jetpack-cloud-horizon',
'jetpack-cloud-production',
];
const isJetpackCloud = (): boolean => jetpackCloudEnvironments.includes( config( 'env_id' ) );
export default isJetpackCloud;