# IsLeapYear()

Determines whether a year is a leap year.

```
IsLeapYear( year=number );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| year | number | Yes | Number representing a year *Alias: value* |  |

# Examples

```cfml
writeDump(label:"2018", var:IsLeapYear(2018));
writeDump(label:"2020", var:IsLeapYear(2020));
writeDump(label:"1", var:IsLeapYear(1));
```







# Categories

[Decision logic](../../categories/decision.md), [Date and time](../../categories/datetime.md)