codetrix - v1.5.0
    Preparing search index...

    Function isEven

    • Checks if a number is even.

      Parameters

      • num: number

        The number to check.

      Returns boolean

      true if the number is even, otherwise false.

      isEven(4); // true
      isEven(5); // false