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

Function isCheckable

code/composition/public/app.js:3872–3876  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

3870}
3871
3872function isCheckable(elem) {
3873 var type = elem.type;
3874 var nodeName = elem.nodeName;
3875 return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
3876}
3877
3878function getTracker(node) {
3879 return node._valueTracker;

Callers 2

getValueFromNodeFunction · 0.70
trackValueOnNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected