Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isOdd

  • isOdd(num: number): boolean
  • Checks if the given number is odd.

    example

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

    Parameters

    • num: number

      The number to check.

    Returns boolean

    Whether the number is odd.

Legend

  • Function

Generated using TypeDoc