MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / toggleCheckbox

Function toggleCheckbox

packages/core/src/widgets/checkbox.ts:60–62  ·  view source on GitHub ↗
(current: boolean)

Source from the content-addressed store, hash-verified

58 * @returns Toggled state
59 */
60export function toggleCheckbox(current: boolean): boolean {
61 return !current;
62}
63
64/**
65 * Create a VNode for a checkbox widget.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected