is_plumber {plumber}R Documentation

Determine if Plumber object

Description

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
is_plumber(list()) # FALSE

[Package plumber version 1.2.2 Index]