MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isCheckable

Function isCheckable

code/redux/public/app.js:3985–3989  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

3983}
3984
3985function isCheckable(elem) {
3986 var type = elem.type;
3987 var nodeName = elem.nodeName;
3988 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
3989}
3990
3991function getTracker(node) {
3992 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected