> 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/overview.md).

# Overview

## Greater

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong><code>comparison.greater-than()</code></strong></td><td>Checks whether the given value is greater than compared value.</td><td>module: <code>greater.than()</code></td><td><a href="/pages/EBqcyQjzw9Dev5p0UTJ6">/pages/EBqcyQjzw9Dev5p0UTJ6</a></td></tr><tr><td><strong><code>comparison.greater-than-any()</code></strong></td><td>Checks whether the given <code>$greater</code> is greater than any of the given <code>$values</code>.</td><td>module: <code>greater.than-any()</code></td><td><a href="/pages/LGYVHO4LKL097iSbfir5">/pages/LGYVHO4LKL097iSbfir5</a></td></tr><tr><td><strong><code>comparison.greater-than-every()</code></strong></td><td>Checks whether the given <code>$greater</code> is greater than every of the given <code>$values</code>.</td><td>module: <code>greater.than-every()</code></td><td><a href="/pages/aLjX2fje6yp8tAM0ZzlA">/pages/aLjX2fje6yp8tAM0ZzlA</a></td></tr></tbody></table>

## Less

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong><code>comparison.less-than-any()</code></strong></td><td>Checks whether the given <code>$less</code> is less than any of the given <code>$values</code>.</td><td></td><td><a href="/pages/3vuEZZcINsA7jl7tTvsE">/pages/3vuEZZcINsA7jl7tTvsE</a></td></tr><tr><td><strong><code>comparison.less-than-every()</code></strong></td><td>Checks whether the given <code>$less</code> is less than every of the given <code>$values</code>.</td><td></td><td><a href="/pages/fnhEOghDP9ap6KQ8c0rN">/pages/fnhEOghDP9ap6KQ8c0rN</a></td></tr><tr><td><strong><code>comparison.less-than()</code></strong></td><td>Checks whether the given <code>$value</code> is less than compared <code>$value</code> and/or <code>$values</code>.</td><td></td><td><a href="/pages/brN5V0QIFYAZhzNCH2Qw">/pages/brN5V0QIFYAZhzNCH2Qw</a></td></tr></tbody></table>

## Comparison

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong><code>comparison.compare-multiple()</code></strong></td><td>Handles multiple comparisons.</td><td></td></tr><tr><td><strong><code>comparison.compare()</code></strong></td><td>Returns a <code>bool</code> indicating the result of the comparison.</td><td></td></tr><tr><td><strong><code>comparison.equal()</code></strong></td><td>Function is a helper function for the compare function and it's a simple comparison of the <code>$value1</code> with <code>$value2</code>.</td><td></td></tr></tbody></table>
