MCPcopy
hub / github.com/CapSoftware/Cap / isModalDialog

Function isModalDialog

apps/desktop/src/routes/editor/context.ts:105–107  ·  view source on GitHub ↗
(d: DialogState)

Source from the content-addressed store, hash-verified

103}
104
105export function isModalDialog(d: DialogState): d is OpenModalDialog {
106 return d.open && "type" in d && !LAYOUT_MODE_TYPES.has(d.type);
107}
108
109export const FPS = 60;
110

Callers 2

isDialogTypeFunction · 0.90
DialogsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected