Skip to content

Determine if Plumber object

Usage

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