---
title: "true"
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsexpression/true
---

# true

An expression to evalutate if a conditional expression’s predicate evaluates to true.

## Declaration

```swift
@NSCopying var `true`: NSExpression { get }
```

## Discussion

Discussion Accessing this property raises an exception if it isn’t applicable to the expression.

## See Also

### Evaluating an Expression

- [expressionValue(with:context:)](foundation/nsexpression/expressionvalue(with:context:).md)
- [allowEvaluation()](foundation/nsexpression/allowevaluation().md)
- [false](foundation/nsexpression/false.md)
