Skip to content

Commit

Permalink
of course
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Aug 13, 2024
1 parent c500683 commit 0e1652b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/x-charts/src/internals/isInfinity.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function isInfinity(v: any): v is number {
return typeof v === 'number' && !Number.isFinite(v);
}

0 comments on commit 0e1652b

Please sign in to comment.