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