Files
ObsidianPad/node_modules/@electron/windows-sign/dist/cjs/utils/parse-env.d.ts
T

12 lines
358 B
TypeScript
Raw Normal View History

2026-05-31 18:44:04 +08:00
/**
* Tries to parse an process.env string to a boolean.
* Will understand undefined as the default value
* Will understand "false", "False", "fAlse", or "0" as `false`
* Will understand everything else as true
*
* @export
* @param {string} name
* @return {*} {boolean}
*/
export declare function booleanFromEnv(name: string): boolean | undefined;