# BoolInteractionResult

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

The result of a boolean interaction prompt.

## Definition

```go
type BoolInteractionResult struct {
    Canceled bool  `json:"Canceled"`
    Value    *bool `json:"Value"`
}
```

## Fields

- `Canceled`: `bool` -- Gets a value indicating whether the interaction was canceled by the user.
- `Value`: `*bool` `optional` -- Gets the value returned from the interaction. Not meaningful when `Canceled` is `true`.
