MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / isFontWeightBold

Function isFontWeightBold

packages/core/ui/styling/font-common.ts:142–144  ·  view source on GitHub ↗
(fontWeight: FontWeightType)

Source from the content-addressed store, hash-verified

140}
141
142export function isFontWeightBold(fontWeight: FontWeightType): boolean {
143 return fontWeight === FontWeight.SEMI_BOLD || fontWeight === FontWeight.BOLD || fontWeight === '700' || fontWeight === FontWeight.EXTRA_BOLD || fontWeight === FontWeight.BLACK;
144}
145
146export namespace genericFontFamilies {
147 export const serif = 'serif';

Callers 1

isBoldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected