Skip to contents

This function checks if a value is reactive

Usage

is_reactive(x)

Arguments

x

A value to check.

Value

A logical scalar indicating whether x is a list.

Examples

if(interactive()){
is_reactive(shiny::reactive(1)) # TRUE
is_reactive(1) # FALSE
}