diff --git a/pkg/yqlib/doc/operators/headers/kind.md b/pkg/yqlib/doc/operators/headers/kind.md new file mode 100644 index 00000000..3dcaac9e --- /dev/null +++ b/pkg/yqlib/doc/operators/headers/kind.md @@ -0,0 +1,7 @@ +# Kind + +The `kind` operator identifies the type of a node as either `scalar`, `map`, or `seq`. + +This can be used for filtering or transforming nodes based on their type. + +Note that `null` values are treated as `scalar`.