# gte

> **gte**(`key`, `value`): [`Predicate`](https://docs.arkiv.network/typescript-sdk/api-reference/query/type-aliases/predicate/)

Defined in: [src/query/predicate.ts:97](https://github.com/Arkiv-Network/arkiv-sdk-js/blob/9dd881b502454af6c7b7167106762d4ea0269389/src/query/predicate.ts#L97)

Creates a greater than or equal predicate

## Parameters

### key

`string`

The key to compare

### value

The value to compare

`string` | `number`

## Returns

[`Predicate`](https://docs.arkiv.network/typescript-sdk/api-reference/query/type-aliases/predicate/)

The greater than or equal predicate

## Example

```ts
const predicate = gte("name", "John")
// result = { type: "gte", key: "name", value: "John" }
```