mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
Update isPrime.md
This commit is contained in:
parent
c4e812a122
commit
fe72b5ee6f
@ -36,7 +36,7 @@ math.isPrime(0); // returns false
|
||||
math.isPrime(-0); // returns false
|
||||
math.isPrime(0.5); // returns false
|
||||
math.isPrime('2'); // returns true
|
||||
math.isPrime([2, 17, 100]); // returns [true, true, false]
|
||||
math.isPrime([2, 17, 100]'); // returns [true, true, false]
|
||||
```
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user