Function
isBold
(fontStyle: number | undefined)
Source from the content-addressed store, hash-verified
| 38 | // eslint-disable-next-line no-bitwise -- shiki bitflag check |
| 39 | // oxlint-disable-next-line eslint(no-bitwise) |
| 40 | const isBold = (fontStyle: number | undefined) => fontStyle && fontStyle & 2; |
| 41 | const isUnderline = (fontStyle: number | undefined) => |
| 42 | // biome-ignore lint/suspicious/noBitwiseOperators: shiki bitflag check |
| 43 | // oxlint-disable-next-line eslint(no-bitwise) |
Tested by
no test coverage detected