MCPcopy Create free account
hub / github.com/editablejs/editable / getOpenState

Function getOpenState

packages/ui/src/menu.tsx:928–930  ·  view source on GitHub ↗
(open: boolean)

Source from the content-addressed store, hash-verified

926/* -----------------------------------------------------------------------------------------------*/
927
928function getOpenState(open: boolean) {
929 return open ? 'open' : 'closed'
930}
931
932function getCheckedState(checked: boolean) {
933 return checked ? 'checked' : 'unchecked'

Callers 1

menu.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…