Skip to main content

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.