Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch committed Jan 29, 2024
1 parent 7c8b7a1 commit 07ec13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/utils/coerce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export function coerceNumber(value: any, fallbackValue = 0) {
}

function isNumberValue(value: any): boolean {
return !isNaN(parseFloat(value as any)) && !isNaN(Number(value));
return !isNaN(parseFloat(value)) && !isNaN(Number(value));
}

0 comments on commit 07ec13d

Please sign in to comment.