wdl
wdl copied to clipboard
Get length of Map
I believe this is an overlooked feature.
Currently length only accepts Array.
Draft implementation: https://github.com/openwdl/wdl/tree/534-generalize-length
You're right...we should genericize length.
Cool! Looking forward to this being implemented.
Just for completeness, in WDL 1.0 I'm able to have a "hack" by coercing the Map to Array[Pair[..., ...]].