Is Positive Infinity

Examples in Go
package main

import (
  "fmt"
  "math"
)

func main() {
  posInf := math.Inf(1)
  fmt.Println(math.IsInf(posInf, 1))
}
Last Run  :
true