(radius)
| 108 | return (2 * PI * radius^3)/3 |
| 109 | */ |
| 110 | const volHemisphere = (radius) => { |
| 111 | isNumber(radius, 'Radius') |
| 112 | return (2.0 * Math.PI * radius ** 3) / 3.0 |
| 113 | } |
| 114 | |
| 115 | const isNumber = (number, noName = 'number') => { |
| 116 | if (typeof number !== 'number') { |
nothing calls this directly
no test coverage detected