isuv#

Whether a value is a number that fits an unsigned integer.

Synopsis#

use Scalar::Util::Numeric qw(isuv);
isuv("1.5");     # 1 - the integer part fits

What you get back#

1 when the number’s integer part is within the unsigned range, whatever its sign or fraction, else 0.