# greaterOrEqual · FT4 TypeScript client · Chromia Docs (concept)

> greaterOrEqual< T extends string>(
    ...variableValue: RuleVariableValue < T > | [ RuleVariableValue < T >],
): SimpleRule < T > Creates a rule variable 

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.greaterOrEqual/

Function

# greaterOrEqual

* ```signature
  greaterOrEqual<T extends string>(
      ...variableValue: RuleVariableValue<T> | [RuleVariableValue<T>],
  ): SimpleRule<T>
  ```

  Creates a rule variable that (can be passed to an auth descriptor) with
  the "greater than or equal" (>=) operation for the provided variable.
  Example: greaterOrEqual(opCount(10))

  #### Type Parameters

  + T extends string

  #### Parameters

  + ...variableValue: [RuleVariableValue](https://docs.chromia.com/pages/ft4-ts-client/types/accounts.RuleVariableValue/)<[T](#greaterorequalt)> | [[RuleVariableValue](https://docs.chromia.com/pages/ft4-ts-client/types/accounts.RuleVariableValue/)<[T](#greaterorequalt)>]

    the variable value to use

  #### Returns [SimpleRule](https://docs.chromia.com/pages/ft4-ts-client/types/accounts.SimpleRule/)<[T](#greaterorequalt)>

  a rule variable

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/accounts.greaterOrEqual.html)Generated API reference, mirrored from the live docs
