Skip to contents

Check if Object is a datom Store

Usage

is_datom_store(x)

Arguments

x

Object to test.

Value

TRUE or FALSE.

Examples

tmp <- tempfile("datom_store_")
store <- datom_store(
  data = datom_store_local(path = tmp),
  data_repo_url = "https://github.com/example/my-project",
  validate = FALSE
)
#>  Created store directory /tmp/Rtmp0YCcPh/datom_store_1a315b86c39e.
is_datom_store(store)
#> [1] TRUE
is_datom_store("not a store")
#> [1] FALSE
unlink(tmp, recursive = TRUE)