is_draft2 {tidycwl} | R Documentation |
Is this CWL draft2?
Description
Is this CWL draft2?
Usage
is_draft2(x)
Arguments
x |
CWL object |
Value
Logical. TRUE
if it is a CWL draft2 object, FALSE
if not.
Examples
system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>%
read_cwl(format = "json") %>%
is_draft2()
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
read_cwl(format = "json") %>%
is_draft2()
[Package tidycwl version 1.0.7 Index]