Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > EnvironmentConfiguration > parseBooleanEnvironmentVariable

EnvironmentConfiguration.parseBooleanEnvironmentVariable() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

static parseBooleanEnvironmentVariable(name: string, value: string | undefined): boolean | undefined;

Parameters

Parameter

Type

Description

name

string

value

string | undefined

Returns:

boolean | undefined