MCPcopy Create free account
hub / github.com/caseywebdev/react-list / isCheckable

Function isCheckable

docs/index.js:4482–4489  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

4480 }
4481}
4482function isCheckable(elem) {
4483 var type = elem.type;
4484 return (
4485 (elem = elem.nodeName) &&
4486 "input" === elem.toLowerCase() &&
4487 ("checkbox" === type || "radio" === type)
4488 );
4489}
4490function trackValueOnNode(node) {
4491 var valueField = isCheckable(node) ? "checked" : "value",
4492 descriptor = Object.getOwnPropertyDescriptor(

Callers 2

trackValueOnNodeFunction · 0.85
updateValueIfChangedFunction · 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…