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

Function isCheckable

code/one-direction-data-flow/public/app.js:3607–3611  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

3605}
3606
3607function isCheckable(elem) {
3608 var type = elem.type;
3609 var nodeName = elem.nodeName;
3610 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
3611}
3612
3613function getTracker(node) {
3614 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected