UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

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