(x: number)
| 27 | * Determine if a number is an integer. |
| 28 | */ |
| 29 | export function isInteger(x: number): boolean { |
| 30 | return x === parseInt(x.toString(), 10); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Calculate the product of an array of numbers. |
no test coverage detected
searching dependent graphs…