---
title: "init(_:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/bool/init(_:)-83vgw"
---

# init(_:)

Creates a new Boolean value from the given string.

## Declaration

```swift
init?(_ description: String)
```

## Parameters

- `description`: A string representation of the Boolean value.

## Discussion

Discussion If the description value is any string other than "true" or "false", the result is nil. This initializer is case sensitive.

## See Also

### Creating a Boolean From Another Value

- [init(_:)](swift/bool/init(_:)-25sp9.md)
