> For the complete documentation index, see [llms.txt](https://range.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://range.angular-package.dev/inequality/overview.md).

# Overview

## `Inequality {}`

The `Inequality` abstract [primitive wrapper object](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript) represents the [primitive value](/less/methods/valueof.md) **greater** or **less** than the given.

{% embed url="<https://github.com/angular-package/range/blob/main/src/lib/inequality.class.ts>" %}
`inequality.class.ts`
{% endembed %}

### Accessors

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public get</strong> <a href="/pages/feAmMVfYZcgkANTx4K0U#inequality.prototype.greater"><strong>greater()</strong></a>: <mark style="color:green;">Greater</mark><<mark style="color:green;">Value</mark>><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor obtains from the private <a href="/pages/uWz1QRStCpCB3KLwQBqz"><code>#greater</code></a> property an instance of the <a href="/pages/Sp6vvBeEd94xHozrVO3n"><code>Greater</code></a> with a <a href="/pages/8ksVRMnJgHREh9Hez1rJ">primitive value</a> from a given <a href="/pages/i7wyKmH5MvhzOVxKc6Kf#value-value"><code>value</code></a> of the <a href="/pages/c5O6G9ofenL7lHwrYQ9D"><code>Inequality</code></a> constructor.</p> |
| <p><strong>public get</strong> <a href="/pages/4RYs0q3Kz8AX3pu0Ivdr#inequality.prototype.less"><strong>less()</strong></a>: <mark style="color:green;">Less</mark><<mark style="color:green;">Value</mark>><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor obtains from the private <a href="/pages/C0Zj6HuP6vsNJmuZAFN0"><code>#less</code></a> property an instance of the <a href="/pages/CMfgRlfJQkYoJNfwfaip"><code>Less</code></a> with a <a href="/pages/JKCFRuiLu7paenzWw09F">primitive value</a> from a given <a href="/pages/i7wyKmH5MvhzOVxKc6Kf#value-value"><code>value</code></a> of the <a href="/pages/c5O6G9ofenL7lHwrYQ9D"><code>Inequality</code></a> constructor.</p>                |

### Properties

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><a href="/pages/uWz1QRStCpCB3KLwQBqz"><strong>#greater</strong></a>: <mark style="color:green;">Greater</mark><<mark style="color:green;">Value</mark>><br>Private property of the <a href="/pages/Sp6vvBeEd94xHozrVO3n"><code>Greater</code></a> primitive wrapper <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> indicates the value of the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number"><code>number</code></a> type <strong>greater</strong> than the given.</p> |
| <p><a href="/pages/C0Zj6HuP6vsNJmuZAFN0"><strong>#less</strong></a>: <mark style="color:green;">Less</mark><<mark style="color:green;">Value</mark>><br>Private property of the <a href="/pages/CMfgRlfJQkYoJNfwfaip"><code>Less</code></a> primitive wrapper <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> indicates the value of <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number"><code>number</code></a> type <strong>less</strong> than the given.</p>                 |

### Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public</strong> <a href="/pages/qXmMuHtvyMEd1zrg2ThN"><strong>greaterThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>greater</strong> than the given <a href="/pages/qXmMuHtvyMEd1zrg2ThN#value-number"><code>value</code></a>.</p>                                           |
| <p><strong>public</strong> <a href="/pages/QFXTXHPNCPXbs3aLV955"><strong>greaterThanEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>greater</strong> than <strong>every</strong> value of the given <a href="/pages/QFXTXHPNCPXbs3aLV955#...values-number"><code>values</code></a>.</p> |
| <p><strong>public</strong> <a href="/pages/kyK3Az0siLQT2Hnbpr8U"><strong>greaterThanSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>greater</strong> than <strong>some</strong> given <a href="/pages/kyK3Az0siLQT2Hnbpr8U#...values-number"><code>values</code></a>.</p>                |
| <p><strong>public</strong> <a href="/pages/PmILNBNZYZXnusd1skO1"><strong>lessThan()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>less</strong> than the given <a href="/pages/PmILNBNZYZXnusd1skO1#value-number"><code>value</code></a>.</p>                                                 |
| <p><strong>public</strong> <a href="/pages/EsFliOOJPrEMow3w4PTi"><strong>lessThanEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>less</strong> than <strong>every</strong> value of the given <a href="/pages/EsFliOOJPrEMow3w4PTi#...values-number"><code>values</code></a>.</p>       |
| <p><strong>public</strong> <a href="/pages/ugE52SDW9tyPAz5WOL9U"><strong>lessThanSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript">primitive value</a> of a child class instance is <strong>less</strong> than <strong>some</strong> given <a href="/pages/ugE52SDW9tyPAz5WOL9U#...values-number"><code>values</code></a>.</p>                      |
