Kind
Last updated
a: !!thing cat
b: !!foo {}
c: !!bar []yq '.. | kind' sample.ymlmap
scalar
map
seqa:
b: 5
c: 3.2
e: true
f: []
g: {}
h: nullyq '(.. | select(kind == "scalar")) line_comment = "this is a scalar"' sample.ymla:
b: 5 # this is a scalar
c: 3.2 # this is a scalar
e: true # this is a scalar
f: []
g: {}
h: null # this is a scalar