From dff01224813bcc6c70fa87b8c50af57a0b15ca44 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Fri, 6 Sep 2024 12:33:27 +1000 Subject: [PATCH] Regen kind docs --- pkg/yqlib/doc/operators/kind.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/yqlib/doc/operators/kind.md b/pkg/yqlib/doc/operators/kind.md index 1f65dfbb..4583410c 100644 --- a/pkg/yqlib/doc/operators/kind.md +++ b/pkg/yqlib/doc/operators/kind.md @@ -1,3 +1,10 @@ +# 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`. ## Get kind Given a sample.yml file of: