Const
Checks if a number is a Uint.
true if the value is a Uint, false otherwise.
true
false
assert.ok(isUint(4));assert.notOk(isUint(-1));assert.ok(Uint.is(0)); Copy
assert.ok(isUint(4));assert.notOk(isUint(-1));assert.ok(Uint.is(0));
Checks if a number is a Uint.