---
title: "cast to state · RUAL Documentation"
description: "Converts the given value into a state."
canonical: https://docs.rual.nl/block-types/type%20casting/value_convert_to_state
language: en
---

# cast to state

This block is part of the [`type casting`](https://docs.rual.nl/block-types/type%20casting) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

> **Deprecated** This block has been deprecated since `v13.0.6`, please avoid future use.

Converts the given value into a state.

- value required `value` The value to be converted into state.

- state `state` The converted output state.

### Version history

Introduced in [`v13.0.1`](https://docs.rual.nl/core-versions/130001).

Last modified in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Deprecated since [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

- [Back to `type casting`](https://docs.rual.nl/block-types/type%20casting): Return to the main group to view all sub-groups

- [Back to `value`](https://docs.rual.nl/block-types/type%20casting?group=value): Return to the group to view all blocks within this group
