UNPKG

standardized-audio-context

Version:

A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.

8 lines 256 B
export const getValueForKey = (map, key) => { const value = map.get(key); if (value === undefined) { throw new Error('A value with the given key could not be found.'); } return value; }; //# sourceMappingURL=get-value-for-key.js.map