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

CommandLineIntegerParameter.value property

Returns the argument value for an integer parameter that was parsed from the command line.


readonly value: number | undefined;


The return value will be undefined if the command-line has not been parsed yet, or if the parameter was omitted and has no default value.