MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isEmptyCellAt

Function isEmptyCellAt

src/ink/screen.ts:424–427  ·  view source on GitHub ↗
(screen: Screen, x: number, y: number)

Source from the content-addressed store, hash-verified

422}
423
424export function isEmptyCellAt(screen: Screen, x: number, y: number): boolean {
425 if (x < 0 || y < 0 || x >= screen.width || y >= screen.height) return true
426 return isEmptyCellByIndex(screen, y * screen.width + x)
427}
428
429/**
430 * Check if a Cell (view object) represents an empty cell.

Callers 2

renderMethod · 0.85
dispatchClickMethod · 0.85

Calls 1

isEmptyCellByIndexFunction · 0.85

Tested by

no test coverage detected