MCPcopy Create free account
hub / github.com/code-golf/code-golf / mutateDeep

Function mutateDeep

assets/js/hole/tabs.tsx:651–659  ·  view source on GitHub ↗

* Mutate the given item recursively to: * - change reorderEnabled (false if isMobile, otherwise true) * - change rows to columns (if isMobile, otherwise no change) * * I don't know what it's necessary to change reorderEnabled on a per-item * basis. Should be able to just do currLayout.settings.

(item: DeepMutable<ResolvedRootItemConfig>, isMobile: boolean)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

toggleMobileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected