(arg)
| 218 | */ |
| 219 | windowSize({ width, height }) { |
| 220 | function checkArg(arg) { |
| 221 | if (typeof arg !== 'number' || arg <= 0) { |
| 222 | throw TypeError('Arguments must be {width, height} with numbers > 0') |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | checkArg(width) |
| 227 | checkArg(height) |
nothing calls this directly
no outgoing calls
no test coverage detected