MCPcopy Create free account
hub / github.com/nodejs/node / isRangePositionSelected

Method isRangePositionSelected

deps/v8/tools/turbolizer/src/views/range-view.ts:476–482  ·  view source on GitHub ↗
(column: number)

Source from the content-addressed store, hash-verified

474 }
475
476 public isRangePositionSelected(column: number): boolean {
477 const positions = this.positionHeaders.lastChild as HTMLElement;
478 if (positions.children.length < column) return false;
479 const rangePositionEl = positions.children[column] as HTMLElement;
480 if (rangePositionEl === undefined) return false;
481 return rangePositionEl.classList.contains('selected');
482 }
483
484 public isRangeRegSelected(row: number): boolean {
485 if (this.registers.children.length < row) return false;

Callers 1

updateBackgroundMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected