react-native-mmkv
Version:
The fastest key/value storage for React Native. ~30x faster than AsyncStorage! Works on Android, iOS and Web.
14 lines (13 loc) • 339 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isJest = isJest;
function isJest() {
if (global.process == null) {
// In a WebBrowser/Electron the `process` variable does not exist
return false;
}
return process.env.JEST_WORKER_ID != null;
}
//# sourceMappingURL=PlatformChecker.js.map