Function isEven

  • It will determine whether the provided number is an even number or not.

    Parameters

    • number: number

    Returns boolean

    Since

    1.0.0

    Example

    isEven(2);
    // => true

    Example

    isEven(3);
    // => false