source: node_modules/recharts/es6/util/isWellBehavedNumber.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 174 bytes
RevLine 
[a762898]1export function isWellBehavedNumber(n) {
2 return Number.isFinite(n);
3}
4export function isPositiveNumber(n) {
5 return typeof n === 'number' && n > 0 && Number.isFinite(n);
6}
Note: See TracBrowser for help on using the repository browser.