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

# not Condition • TypeScript AI Agent SDK

> notCondition: API reference for notCondition

# notCondition

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**conditions**](../modules/conditions) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def notCondition(condition: ConditionProtocol) -> ConditionProtocol
```

### Returns

<ResponseField name="Returns" type="ConditionProtocol">
  The result of the operation.
</ResponseField>

## Uses

* `FunctionCondition`
* `evaluate`
* `NOT`
* `describe`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/conditions/index.ts#L287">
  `src/conditions/index.ts` at line 287
</Card>
