> For the complete documentation index, see [llms.txt](https://docs.umbcheckout.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbcheckout.net/extensions/convert-extensions.md).

# Convert Extensions

These extensions can be found within the namespace `UmbCheckout.Shared.Extensions`

#### ToBoolean

Converts a string to boolean

{% code title="Example" %}

```csharp
Model.StringBoolean.ToBoolean()
```

{% endcode %}

| String Value | Returned Boolean |
| ------------ | ---------------- |
| "true"       | true             |
| "1"          | true             |
| "false"      | false            |
| "0"          | false            |
