Skip to contents

Returns the hidden internal state object used by the scrubwren package for managing temporary values (e.g., during tuple unpacking or other helper operations).

Usage

get_state()

Value

An environment containing internal package state.

Details

This function exposes the .state environment. It is primarily intended for debugging or advanced use, and the structure of the state object is not guaranteed to remain stable across package versions.

Examples

if (FALSE) { # \dontrun{
st <- get_state()
ls(st)             # List objects in the internal state
st$last_tuple_unpack_value  # Access the last unpacked tuple value
} # }