# ISEVEN

**The function ISEVEN outputs TRUE if the given Number is even.**

This function takes a [Number](../../variable-data-types/the-number-variable-data-type) as input. It outputs a [boolean](../../variable-data-types/the-boolean-variable-data-type): **TRUE** if the given Number is even, **FALSE** if it isn't.

#### Declaration

```javascript
ISEVEN(number) -> boolean
```

&#x20;

#### Parameters

**number** (required, type: `Number`) The number that may or may not be even.

#### Return Values

**boolean** (type: `Boolean`) The result of checking if the given Number is even; **TRUE** means that it is and **FALSE** means that it isn't.

#### Examples

The following example checks to see if the number three is even. It isn't:

```javascript
ISEVEN(3) -> FALSE
```

The following example checks to see if the number two is even. It is:

```javascript
ISEVEN(2) -> TRUE
```

The following example checks to see if the number 2.2 is odd. It isn't, because 2.2 isn't an integer:&#x20;

```javascript
ISEVEN(2.2) -> FALSE
```

&#x20;

#### Discussion

The function ISEVEN can be considered the opposite of the function [ISODD](isodd) – in cases where ISEVEN will output **TRUE**, ISODD will output **FALSE**, and visa versa.
