Integer detection

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Remainder operator
const v = 3

Math.round(v) % v === 0
ready
Number.isInteger
Number.isInteger(5)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.