MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / getChecked

Function getChecked

front/common.js:2787–2787  ·  view source on GitHub ↗
(id, def = false)

Source from the content-addressed store, hash-verified

2785 const getInt = (id, def = 0) => parseInt(document.getElementById(id)?.value) || def;
2786 const getFloat = (id, def = 0.0) => parseFloat(document.getElementById(id)?.value) || def;
2787 const getChecked = (id, def = false) => document.getElementById(id)?.checked || def;
2788
2789 const config = {
2790 host: getValue('host', '0.0.0.0'),

Callers 1

saveConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected