function getValueByRadioActiveimport { getValueByRadioActive } from "https://deno.land/x/simple_utility@v2.0.0/src/deno_ext/dom.ts"; getValueByRadioActive(element: Element, name: string): stringGets value of .checked in group of radio buttons. ExamplesExample 1 const dom = parseDOM("<input type='radio' name='foo' value='1' checked><input type='radio' name='foo' value='2'>"); const result = getValueByRadioActive(dom, "foo"); Parameterselement: Elementname: stringReturnsstring