MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / checkboxValue

Function checkboxValue

contributed/modClock/main.js:1264–1269  ·  view source on GitHub ↗
(reqVal, item)

Source from the content-addressed store, hash-verified

1262
1263
1264function checkboxValue(reqVal, item) {
1265 if (undefined == reqVal[item])
1266 return 0;
1267 else
1268 return parseInt(reqVal[item]);
1269}
1270
1271function dstValue(source, reqVal, item) {
1272 let ret;

Callers 1

configServerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected