Declare::Constraints::Simple::Library::Numerical3pm
Numerical constraints
Usage
# test for number-conformitymy $looks_like_number = IsNumber;# only integersmy $is_int = IsInt;
Descriptions
This library contains the constraints needed to validate numerical values.
Constraints
IsNumber()
True if the value is a number according to Scalar::Utils "looks_like_number".
IsInt()
True if the value is an integer.
License and copyright
This module is free software, you can redistribute it and/or modify it under the same terms as perl itself.
Releases
4 releases since Debian 10 (Buster); the text changed 1 time.