Checks whether a number is an integer.

  • Parameters

    • value: number

      The value to check.

    Returns boolean

    true when the value is an integer, false otherwise.