Policies & Guidelines

IS_EVEN

Check if the number is even

Description

Returns true if the given number is even, false if it's odd.

Function signature

IS_EVEN(number: Number) => Boolean

Parameter

Description

Number

Number to check

Examples

Formula

Return value

IS_EVEN(0)

true

IS_EVEN(1)

false

IS_EVEN(2)

true