MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / isLayoutItem

Function isLayoutItem

static/components.interfaces.ts:482–484  ·  view source on GitHub ↗
(item: ItemConfig)

Source from the content-addressed store, hash-verified

480 * TODO(#7808): Use this for configuration validation and error handling
481 */
482export function isLayoutItem(item: ItemConfig): item is LayoutItem {
483 return item.type === 'row' || item.type === 'column' || item.type === 'stack';
484}
485
486/**
487 * Helper type for partial component states during initialization

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected