Determine if Plumber object

is_plumber(pr)

Arguments

pr

Hopefully a Plumber object

Value

Logical value if pr inherits from Plumber

Examples

is_plumber(Plumber$new()) # TRUE
#> [1] TRUE
is_plumber(list()) # FALSE
#> [1] FALSE