1// test for even numbers, do something with the result
2
3@function even($number) {
4  @if ($number % 2 == 0) {
5    @return true;
6  }
7  @else {
8    @return false;
9  }
10}