UNPKG
big-rat
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.0
A big integer rational number
github.com/rat-nest/big-rat
rat-nest/big-rat
big-rat
/
equals.js
10 lines
(6 loc)
•
120 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
var
cmp =
require
(
'./cmp'
)
module
.
exports
= equals
function
equals
(
a, b
) {
return
cmp
(a, b) ===
0
}