# TryInto

`import { TryInto } from "destack:convert";`

Fallible conversion into `T`.

```ds title="TryInto"
export newtype interface TryInto<T, E = Error> {
    tryInto(): Result<T, E>;
}
```

[language/library/src/convert/into.ds:21:24](https://github.com/destack-sh/destack/blob/main/language/library/src/convert/into.ds#L21-L24)

## Members

### `tryInto(): Result<T, E>`

Convert this value, or return an error.
