Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/ts-command-line > CommandLineFlagParameter > value

CommandLineFlagParameter.value property

Returns a boolean indicating whether the parameter was included in the command line.


get value(): boolean;


The return value will be false if the command-line has not been parsed yet, or if the flag was not used.