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

Function isCheckable

code/third-party/public/app.js:2967–2971  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

2965}
2966
2967function isCheckable(elem) {
2968 var type = elem.type;
2969 var nodeName = elem.nodeName;
2970 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
2971}
2972
2973function getTracker(node) {
2974 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected