Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ _isDomSupported
Function
_isDomSupported
src/helpers/helpers.dom.ts:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
* @private
8
*/
9
export
function
_isDomSupported(): boolean {
10
return
typeof window !==
'undefined'
&& typeof document !==
'undefined'
;
11
}
12
13
/**
14
* @private
Callers
3
getCanvas
Function · 0.85
helpers.dom.ts
File · 0.85
_detectPlatform
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected