isNotCanvasElement = function isNotCanvasElement(el) {
              return !(el.elt instanceof HTMLCanvasElement);
            }
Removes all elements created by p5, except any canvas / graphics
elements created by <a href="#/p5/createCanvas">createCanvas</a> or <a href="#/p5/createGraphics">createGraphics</a>.
Event handlers are removed, and element is removed from the DOM.
@method removeElements
@example
<div><code>
function setup() {
  createCanvas(100, 100);
  background('grey');
  let div = createDiv('this is some text');
  let p = createP('this is a paragraph');
  div.style('font-size', '16px');
  p.style('font-size', '16px');
}
function mousePressed() {
  removeElements(); // this will remove the div and p, not canvas
}
</code></div>