MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / hidesWindow

Function hidesWindow

__tests__/child-process-windows-hide.test.ts:250–252  ·  view source on GitHub ↗

True when `expr` provably evaluates to options with `windowsHide: true`.

(expr: ts.Expression | undefined, sf: ts.SourceFile)

Source from the content-addressed store, hash-verified

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

Callers 1

visitFunction · 0.85

Calls 1

hideStateFunction · 0.85

Tested by

no test coverage detected