source:
node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js@
a762898
| Last change on this file since a762898 was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 186 bytes | |
| Line | |
|---|---|
| 1 | export var numberDomainEqualityCheck = (a, b) => { |
| 2 | if (a === b) { |
| 3 | return true; |
| 4 | } |
| 5 | if (a == null || b == null) { |
| 6 | return false; |
| 7 | } |
| 8 | return a[0] === b[0] && a[1] === b[1]; |
| 9 | }; |
Note:
See TracBrowser
for help on using the repository browser.
