"use strict";

const envVarName = "___INTERNAL___IS_INSIDE_BABEL_REGISTER_WORKER___";
const envVarValue = "yes_I_am";

exports.markInRegisterWorker = env => Object.assign({}, env, {
  [envVarName]: envVarValue
});

exports.isInRegisterWorker = process.env[envVarName] === envVarValue;