Skip to contents

Returns the current value of a variable.

Usage

mc_get_variable_value(conn, variable)

Arguments

conn

A connection object created by mc_connect.

variable

Character string. Variable name or transaction ID.

Value

The current value (any JSON type).

Examples

if (FALSE) { # \dontrun{
val <- mc_get_variable_value(conn, "myvar")
} # }