codetrix - v1.5.0
    Preparing search index...

    Function isOdd

    • Checks if a number is odd.

      Parameters

      • num: number

        The number to check.

      Returns boolean

      true if the number is odd, otherwise false.

      isOdd(3); // true
      isOdd(4); // false