Test if a value is a number having a nonnegative integer value.