MCPcopy Create free account
hub / github.com/angular/components / isTableCell

Function isTableCell

src/material/datepicker/calendar-body.ts:626–628  ·  view source on GitHub ↗

Checks whether a node is a table cell element.

(node: Node | undefined | null)

Source from the content-addressed store, hash-verified

624
625/** Checks whether a node is a table cell element. */
626function isTableCell(node: Node | undefined | null): node is HTMLTableCellElement {
627 return node?.nodeName === 'TD';
628}
629
630/**
631 * Gets the date table cell element that is or contains the specified element.

Callers 1

getCellElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected