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

Function getWindowHeight

src/core/environment.js:741–743  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

739 }
740
741 function getWindowHeight() {
742 return isBrowser ? document.documentElement.clientHeight : 0;
743 }
744
745 /**
746 * Called upon each p5 instantiation instead of module import due to the

Callers 1

environmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected