True when `expr` provably evaluates to options with `windowsHide: true`.
(expr: ts.Expression | undefined, sf: ts.SourceFile)
| 248 | |
| 249 | /** True when `expr` provably evaluates to options with `windowsHide: true`. */ |
| 250 | function hidesWindow(expr: ts.Expression | undefined, sf: ts.SourceFile): boolean { |
| 251 | return hideState(expr, sf) === 'hidden'; |
| 252 | } |
| 253 | |
| 254 | function commandLabel(call: ts.CallExpression, sf: ts.SourceFile): string { |
| 255 | const first = call.arguments[0]; |