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

Function isCheckable

code/communication/public/app.js:3769–3773  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

3767}
3768
3769function isCheckable(elem) {
3770 var type = elem.type;
3771 var nodeName = elem.nodeName;
3772 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
3773}
3774
3775function getTracker(node) {
3776 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected