Skip to content

Commit 49db869

Browse files
committed
lib: make number validation input any
1 parent b47611f commit 49db869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/validators.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ const {
3535
const { signals } = internalBinding('constants').os;
3636

3737
/**
38-
* @param {number} value
38+
* @param {*} value
3939
* @returns {boolean}
4040
*/
4141
function isInt32(value) {
4242
return value === (value | 0);
4343
}
4444

4545
/**
46-
* @param {number} value
46+
* @param {*} value
4747
* @returns {boolean}
4848
*/
4949
function isUint32(value) {

0 commit comments

Comments
 (0)