summaryrefslogtreecommitdiff
path: root/Conditional.md
diff options
context:
space:
mode:
Diffstat (limited to 'Conditional.md')
-rw-r--r--Conditional.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Conditional.md b/Conditional.md
new file mode 100644
index 0000000..f70ba6b
--- /dev/null
+++ b/Conditional.md
@@ -0,0 +1,3 @@
+```shell
+jq 'if . | length == 1 then "hello" else null end'
+``` \ No newline at end of file