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

# Overview

## `Greater {}`

The `Greater` [primitive wrapper object](https://developer.mozilla.org/en-US/docs/Glossary/Primitive#primitive_wrapper_objects_in_javascript) represents the [primitive value](/greater/methods/valueof.md) of the [`number`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) type **greater** than the given.

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

### Accessors

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public get</strong> <a href="/pages/wAWdfke6J9WNHRixjE8r#symbol.tostringtag"><strong>[Symbol.</strong><mark style="color:blue;"><strong>toStringTag</strong></mark><strong>](https://range.angular-package.dev/greater)</strong></a>: <mark style="color:green;">string</mark><br>The <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get"><code>get</code></a> accessor, with the help of <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag"><code>toStringTag</code></a>, changes the default tag to <code>'Greater'</code> for an instance of <a href="/pages/Sp6vvBeEd94xHozrVO3n"><code>Greater</code></a>.</p> |

### Methods

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>public static</strong> <a href="/pages/lffVMkFq1KjCOW1TxUhB"><strong>create()</strong></a>: <mark style="color:green;">Greater</mark><<mark style="color:green;">Value</mark>><br>Creates the <a href="/pages/Sp6vvBeEd94xHozrVO3n"><code>Greater</code></a> instance with the given primitive <a href="/pages/lffVMkFq1KjCOW1TxUhB#value-value"><code>value</code></a>.</p>                                                                                                                             |
| <p><strong>public static</strong> <a href="/pages/yQFtyHfRZcu3X9d1fIH2"><strong>isGreater()</strong></a>: value is <mark style="color:green;">Greater</mark><<mark style="color:green;">Value</mark>><br>Checks whether the given <a href="#undefined"><code>value</code></a> is the <a href="/pages/Sp6vvBeEd94xHozrVO3n"><code>Greater</code></a> instance of any or given primitive value.</p>                                                                                                                   |
| <p><strong>public</strong> <a href="/pages/ZbBdgPsNzPED3cjUlHDA"><strong>than()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="/pages/8ksVRMnJgHREh9Hez1rJ">primitive value</a> of a specified <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> is greater than the given <a href="/pages/ZbBdgPsNzPED3cjUlHDA#value-number"><code>value</code></a>.</p>                                           |
| <p><strong>public</strong> <a href="/pages/XmHQa7he66ydyQdPiihv"><strong>thanEvery()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="/pages/8ksVRMnJgHREh9Hez1rJ">primitive value</a> of a specified <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> is greater than <strong>every</strong> value of the given <a href="/pages/XmHQa7he66ydyQdPiihv#...values-number"><code>values</code></a>.</p> |
| <p><strong>public</strong> <a href="/pages/tJkIDyjPHJYQd1HL5dCf"><strong>thanSome()</strong></a>: <mark style="color:green;">boolean</mark><br>Checks whether the <a href="/pages/8ksVRMnJgHREh9Hez1rJ">primitive value</a> of a specified <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a> is greater than <strong>some</strong> given <a href="#...values-number"><code>values</code></a>.</p>                                           |
| <p><strong>public</strong> <a href="/pages/8ksVRMnJgHREh9Hez1rJ"><strong>valueOf()</strong></a>: <mark style="color:green;">Value</mark><br>Returns the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/valueOf">primitive value</a> of a specified <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object"><code>object</code></a>.</p>                                                                                 |
