MCPcopy Create free account
hub / github.com/TodePond/ScreenPond / removeAllScreens

Function removeAllScreens

source/colour.js:40–42  ·  view source on GitHub ↗
(colour)

Source from the content-addressed store, hash-verified

38// SCREENS //
39//=========//
40export const removeAllScreens = (colour) => {
41 colour.screens.length = 0;
42};
43
44export const removeScreensSet = (colour, screensSet) => {
45 colour.screens = colour.screens.filter((screen) => !screensSet.has(screen));

Callers 1

loadPresetFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected