Is this a CWL object?

is_cwl(x)

Arguments

x

any object

Value

Logical. TRUE if it is a CWL object, FALSE if not.

Examples

system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  is_cwl()
#> [1] TRUE