supportsNegation
functionfunction supportsNegation(config: UnknownOptionConfig): boolean;Check if a config supports boolean-like negation (--no-flag).
True for boolean options and oneOf options containing a boolean valueType.
Parameters
| Name | Type | Description |
|---|---|---|
| config | UnknownOptionConfig | — |
Returns
boolean