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

Function isCheckable

code/styling/public/app.js:3734–3738  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

3732}
3733
3734function isCheckable(elem) {
3735 var type = elem.type;
3736 var nodeName = elem.nodeName;
3737 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
3738}
3739
3740function getTracker(node) {
3741 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected