UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

6 lines (4 loc) 155 B
function hasAudioContext() { return !!(typeof AudioContext !== 'undefined' || typeof webkitAudioContext !== 'undefined'); } export { hasAudioContext };