GT2/GT2-iOS/node_modules/xdl/build/Env.js.flow

18 lines
234 B
Plaintext
Raw Normal View History

2018-02-12 17:26:06 +00:00
/**
* @flow
*/
import os from 'os';
export function home(): string {
return os.homedir();
}
export function isStaging() {
return !!process.env.EXPO_STAGING;
}
export function isLocal() {
return !!process.env.EXPO_LOCAL;
}