MCPcopy
hub / github.com/reactjs/react-tabs / isNode

Function isNode

src/components/UncontrolledTabs.jsx:9–11  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

7import { isTabList, isTabPanel, isTab } from '../helpers/elementTypes';
8
9function isNode(node) {
10 return node && 'getAttribute' in node;
11}
12
13// Determine if a node from event.target is a Tab element
14function isTabNode(node) {

Callers 2

isTabNodeFunction · 0.85
isTabDisabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…