1Declare::Constraints::SUismeprleCD:oe:ncLtlirabirrbeau:rt:yeC:do:nNPsuetmrrelariiDncotacslu:(m:3eS)nitmaptlieo:n:Library::Numerical(3)
2
3
4
6 Declare::Constraints::Simple::Library::Numerical - Numerical
7 Constraints
8
10 # test for number-conformity
11 my $looks_like_number = IsNumber;
12
13 # only integers
14 my $is_int = IsInt;
15
17 This library contains the constraints needed to validate numerical
18 values.
19
21 IsNumber()
22 True if the value is a number according to Scalar::Utils
23 "looks_like_number".
24
25 IsInt()
26 True if the value is an integer.
27
29 Declare::Constraints::Simple, Declare::Constraints::Simple::Library
30
32 Robert 'phaylon' Sedlacek "<phaylon@dunkelheit.at>"
33
35 This module is free software, you can redistribute it and/or modify it
36 under the same terms as perl itself.
37
38
39
40perl v5.32.0 Declare2:0:2C0o-n0s7t-r2a8ints::Simple::Library::Numerical(3)