> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Is not one of

> Checks if a value is not one of the given items.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Checks whether a value is missing from a list you provide. It is the opposite of "Is one of": the condition passes when the value is not found among the listed items. Use this to let everything through except a handful of specific values, for example processing every order apart from those in a few blocked statuses. The check is exact and also compares the data type, so the text `"5"` is treated as different from the number `5`.

This documentation describes: [Schema](/schemas/condition/not-one-of)

## Fields

<FormField property="value" label="Excluded values" required>
  The list of items the value must not be. The condition passes when the value matches none of these items, and fails as soon as it matches one of them exactly. Add at least one item; you can list as many as you need, and each item can be text, a number, a yes/no value, a list, or empty.
</FormField>

## Sample data

With the excluded values set to `NL`, `BE`, and `DE`, the condition passes for any country code that is not one of them.

| Field           | Value            |
| --------------- | ---------------- |
| Excluded values | `NL`, `BE`, `DE` |

| Value | Result         |
| ----- | -------------- |
| `US`  | Matches        |
| `BE`  | Does not match |

```json Configuration theme={null}
{
  "prototype": "not-one-of",
  "parameters": {
    "value": ["NL", "BE", "DE"]
  }
}
```
