Is Even

Pure
IsEven

Returns true if the integer is even.

Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric

Inputs

NameTypeDefaultDescription
ValueintValue parameter

Outputs

NameTypeDescription
ReturnValueboolReturnValue output

Example Use Cases

Example 1

Alternate row colors in a UI list.

Example 2

Determine checkerboard tile color.