(value: any)
| 8 | |
| 9 | /** Coerces a value to a CSS pixel value. */ |
| 10 | export function coerceCssPixelValue(value: any): string { |
| 11 | if (value == null) { |
| 12 | return ''; |
| 13 | } |
| 14 | |
| 15 | return typeof value === 'string' ? value : `${value}px`; |
| 16 | } |
no outgoing calls
no test coverage detected