mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
6 lines
129 B
JavaScript
6 lines
129 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var isInteger = require("./is-integer");
|
||
|
|
||
|
module.exports = function (num) { return isInteger(num) && num >= 0; };
|