(face: FontFace)
| 4 | type StaticFace = FontFace & { isVariable: false; weight: number }; |
| 5 | |
| 6 | const isStaticFace = (face: FontFace): face is StaticFace => |
| 7 | !face.isVariable && typeof face.weight === 'number'; |
| 8 | |
| 9 | // Packages prefer a 400 weight normal face for `index.css`, but there are fonts |
| 10 | // which do not have weight 400, or are only italic. |
nothing calls this directly
no outgoing calls
no test coverage detected