Files
Git-Manager-Gui/node_modules/@electron/windows-sign/dist/esm/utils/parse-env.d.ts
T
2026-10-22 06:57:52 +00:00

12 lines
358 B
TypeScript

/**
* 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;