Go to repository

Function toBeInfinity

Answer if the actual value is infinity (positive or negative).

Parameters

  • actual: number

Returns boolean