Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.usechar.com/llms.txt

Use this file to discover all available pages before exploring further.

Function: isDisplayMode()

isDisplayMode(value): value is CharDisplayMode
Runtime guard for Char display mode values.

Parameters

value

Raw value from host attributes, events, or external input. string | null | undefined

Returns

value is CharDisplayMode true when the value is one of inline, fullscreen, or pip.