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

Function isCheckable

code/dependency-injection/public/app.js:3827–3831  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

3825}
3826
3827function isCheckable(elem) {
3828 var type = elem.type;
3829 var nodeName = elem.nodeName;
3830 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
3831}
3832
3833function getTracker(node) {
3834 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected