({width, height}: Size)
| 50 | } |
| 51 | |
| 52 | export function sizeIsValid({width, height}: Size): boolean { |
| 53 | return width >= 0 && height >= 0; |
| 54 | } |
| 55 | |
| 56 | export function sizeIsEmpty({width, height}: Size): boolean { |
| 57 | return width <= 0 || height <= 0; |
no outgoing calls
no test coverage detected