mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-27 01:56:15 -04:00
parent
89713c4986
commit
f6da2a44e5
3 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
|
|||
}
|
||||
|
||||
const isInt = (value) => {
|
||||
return Number.isInteger(parseFloat(value));
|
||||
return Number.isInteger(value);
|
||||
}
|
||||
|
||||
export {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue