# gte

> **gte**\<`N`, `V`\>(`name`, `value`): [`ComparisonNode`](https://stage.docs.arkiv.network/typescript-sdk/api-reference/query/interfaces/comparisonnode/)\<`ValueRef`\<`N`, `V`\>\>

Defined in: [src/query/expression.ts:320](https://github.com/Arkiv-Network/arkiv-sdk-js/blob/d464c8dce16c3b8c472479ac5aae9d14344eb067/src/query/expression.ts#L320)

Attribute is greater than or equal to value, in index order — see [ComparisonOperator](https://stage.docs.arkiv.network/typescript-sdk/api-reference/query/type-aliases/comparisonoperator/).

## Type Parameters

### N

`N` *extends* `string`

### V

`V` *extends* [`PredicateValue`](https://stage.docs.arkiv.network/typescript-sdk/api-reference/query/type-aliases/predicatevalue/)

## Parameters

### name

`N`

### value

`V`

## Returns

[`ComparisonNode`](https://stage.docs.arkiv.network/typescript-sdk/api-reference/query/interfaces/comparisonnode/)\<`ValueRef`\<`N`, `V`\>\>

## Throws

If the name is outside the attribute name grammar.

## Throws

If the name starts with `$` but is not a queryable system
attribute, a system attribute is compared against the wrong type, or the value is `bytes`.

## Example

```ts
gte("score", dec("3.5")) // score >= dec(3.5)
```