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