R/utils.R
is_cwl.Rd
Is this a CWL object?
is_cwl(x)
any object
Logical. TRUE if it is a CWL object, FALSE if not.
TRUE
FALSE
system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>% read_cwl(format = "json") %>% is_cwl() #> [1] TRUE