UNPKG

@petkoneo/phaser3-rex-plugins

Version:
6 lines (5 loc) 170 B
const SoundObjectClass = Phaser.Sound.BaseSound; var IsSoundObject = function (object) { return (object instanceof SoundObjectClass); } export default IsSoundObject;