MCPcopy Create free account
hub / github.com/NianBroken/Firework_Simulator / toggleSound

Function toggleSound

js/script.js:244–250  ·  view source on GitHub ↗
(toggle)

Source from the content-addressed store, hash-verified

242}
243
244function toggleSound(toggle) {
245 if (typeof toggle === "boolean") {
246 store.setState({ soundEnabled: toggle });
247 } else {
248 store.setState({ soundEnabled: !store.state.soundEnabled });
249 }
250}
251
252function toggleMenu(toggle) {
253 if (typeof toggle === "boolean") {

Callers 1

handlePointerStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected