UNPKG

cosmic-interchain-utils

Version:
11 lines 341 B
// Should be used instead of referencing process directly in case we don't // run in node.js export function safelyAccessEnvVar(name, toLowerCase = false) { try { return toLowerCase ? process.env[name]?.toLowerCase() : process.env[name]; } catch (error) { return undefined; } } //# sourceMappingURL=env.js.map