> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/sass/comparison/greater/greater.than.md).

# 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;
}
```
