Learn R Programming

plumber (version 1.2.2)

is_plumber: Determine if Plumber object

Description

Determine if Plumber object

Usage

is_plumber(pr)

Value

Logical value if pr inherits from Plumber

Arguments

pr

Hopefully a Plumber object

Examples

Run this code
is_plumber(Plumber$new()) # TRUE
is_plumber(list()) # FALSE

Run the code above in your browser using DataLab