MCPcopy Index your code
hub / github.com/processing/p5.js / getCheckboxElement

Function getCheckboxElement

test/unit/dom/dom.js:511–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509 : null;
510
511 const getCheckboxElement = el =>
512 el.elt.firstElementChild.getElementsByTagName('input').length
513 ? el.elt.firstElementChild.getElementsByTagName('input')[0]
514 : null;
515
516 test('should be a function', function() {
517 assert.isFunction(mockP5Prototype.createCheckbox);

Callers 1

dom.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected