---
title: "ArgumentMatcher.range(argumentName:minimum:maximum:)"
framework: evaluations
role: symbol
role_heading: Case
path: "evaluations/argumentmatcher/range(argumentname:minimum:maximum:)"
---

# ArgumentMatcher.range(argumentName:minimum:maximum:)

A value that indicates that the argument must be present and its numeric value must be within the specified range.

## Declaration

```swift
case range(argumentName: String, minimum: Double?, maximum: Double?)
```

## Mentioned in

Evaluating tool-calling behavior

## See Also

### Set and range matching

- [ArgumentMatcher.oneOf(argumentName:allowedValues:)](evaluations/argumentmatcher/oneof(argumentname:allowedvalues:).md)
