Appearance
Home > resol-vbus-core-toolbox > ArgParser > consumeArg
ArgParser.consumeArg() method
Consume the next argument and make sure it is not an option.
Signature:
typescript
consumeArg(option: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
option | string | Option to report in error messages. |
string
Next argument