@@ -2525,7 +2539,7 @@ Given an integer argument, the `range` function creates an array of integers of
Given a two dimensional array argument, the `transpose` function transposes the two dimensional array according to the standard matrix transpose rules. For example `transpose( ((0, 1, 2), (3, 4, 5)) )` will return the rotated two-dimensional array: `((0, 3), (1, 4), (2, 5))`.
+Given an array of optional values, `select_first` will select the first defined value and return it. Note that this is a runtime check and requires that at least one defined value will exist: if no defined value is found when select_first is evaluated, the workflow will fail.
+This function will return `false` if the argument is an unset optional value. It will return `true` in all other cases.
#Data Types & Serialization
@@ -2606,6 +2637,7 @@ Compound Types:
* Array
* Map
* Object
+* Pair
When a WDL workflow engine instantiates a command specified in the `command` section of a `task`, it must serialize all `${...}` tags in the command into primitive types.
0 comments on commit
c84ade7