Skip to contents

Helper to stop if input is or is not a reactive

Usage

abort_if_reactive(x)

abort_if_not_reactive(x)

Arguments

x

For is.reactive(), an object to test. For reactive(), an expression. When passing in a rlang::quo()sure with reactive(), remember to use rlang::inject() to distinguish that you are passing in the content of your quosure, not the expression of the quosure.

See also