```{index} single: isinf (Scalar::Util::Numeric) ``` ```{index} single: Scalar::Util::Numeric::isinf ``` # isinf Whether a value is infinity. ## Synopsis ```perl use Scalar::Util::Numeric qw(isinf); isinf("Inf"); # 1 isinf(9**9**9); # 1 ``` ## What you get back 1 for positive or negative infinity, in any spelling perl reads as infinity, else 0.