pub fn is_enabled(parsed: &ParsedOptions, id: u16) -> boolExpand description
What:
Whether the option is on after every use was applied.
Why:
--all --no-all leaves all off,
exactly as Git’s OPT_BOOL does.
In TS you’d write (pseudocode):
const enabled = last !== undefined && !last.negated;