* Returns true if this number is an integer (no fractional part).
()
| 19 | * Returns true if this number is an integer (no fractional part). |
| 20 | */ |
| 21 | isInteger(): boolean { |
| 22 | return Number.isInteger(this.value); |
| 23 | } |
| 24 | |
| 25 | static of(value: number): PdfNumber { |
| 26 | return new PdfNumber(value); |
no outgoing calls
no test coverage detected