R/pr.R
is_plumber.Rd
Determine if Plumber object
is_plumber(pr)
Hopefully a Plumber object
Plumber
Logical value if pr inherits from Plumber
pr
is_plumber(Plumber$new()) # TRUE #> [1] TRUE is_plumber(list()) # FALSE #> [1] FALSE