Checks whether a node is a table cell element.
(node: Node | undefined | null)
| 624 | |
| 625 | /** Checks whether a node is a table cell element. */ |
| 626 | function 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. |