Skip to content

Commit

Permalink
fix: add constant (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertHernandez authored Jun 9, 2024
1 parent 2cb7166 commit f55af8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/is-positive-number/is-positive-number.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const isPositiveNumber = (value: number): boolean => {
return Math.sign(value) === 1;
const res = Math.sign(value) === 1;
return res;
};

0 comments on commit f55af8e

Please sign in to comment.