# greater.than()

The `greater.than-any()` function checks whether the given `$greater` is greater than any of the given `$values`.

`$greater`&#x20;

The value of number type.<br>

`$values...`

The values of number type to compare with a given `$greater`.

```scss
@function than-any($greater, $values...) {
  @each $value in $values {
    @if meta.of-type(number, $greater, $value) and $greater > $value {
      @return true;
    }
  }
  @return false;
}
```
