summaryrefslogtreecommitdiff
path: root/Conditional.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-21 22:09:29 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-21 22:09:29 +0200
commit27514d58573ce1f844af4ea60afa72c7f58f1cd7 (patch)
tree4b16c31f73cb72435d03d5e105261143f8ca135f /Conditional.md
parent22675cd8dc75d8b8d4b0f818f5b093efbc364802 (diff)
vault backup: 2025-08-21 22:09:29HEADmain
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