* Convert the given value to a dvh value, if supported, otherwise it falls back * to vh
(value: number)
| 119 | * to vh |
| 120 | */ |
| 121 | function dvh(value: number): string { |
| 122 | if (supportsDVH) { |
| 123 | return `${value}dvh` |
| 124 | } |
| 125 | return `${value}vh` |
| 126 | } |
no outgoing calls
no test coverage detected