Skip to contents

This function extracts the "result" field from a list.

Usage

get_result(x)

Arguments

x

(list) A list with a field named 'result'

Value

The value of the 'result' field

Examples

get_result(list(result = 1))
#> [1] 1