MCPcopy Create free account
hub / github.com/MagicCube/agentara / isUnderline

Function isUnderline

web/src/components/ai-elements/code-block.tsx:41–44  ·  view source on GitHub ↗
(fontStyle: number | undefined)

Source from the content-addressed store, hash-verified

39// oxlint-disable-next-line eslint(no-bitwise)
40const isBold = (fontStyle: number | undefined) => fontStyle && fontStyle & 2;
41const isUnderline = (fontStyle: number | undefined) =>
42 // biome-ignore lint/suspicious/noBitwiseOperators: shiki bitflag check
43 // oxlint-disable-next-line eslint(no-bitwise)
44 fontStyle && fontStyle & 4;
45
46// Transform tokens to include pre-computed keys to avoid noArrayIndexKey lint
47interface KeyedToken {

Callers 1

TokenSpanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected