Skip to contents

Test whether an object is a harbour client

Usage

is_harbour_client(x)

Arguments

x

Object to test.

Value

A single TRUE or FALSE.

Examples

# creating a client does not contact the server
client <- hb_client(
  server = "https://seatable.example.org",
  api_token = "your-api-token"
)
is_harbour_client(client)
#> [1] TRUE
is_harbour_client(list())
#> [1] FALSE