Skip to content

Commit f4f5d2a

Browse files
authored
Update comparison.md
1 parent 5cbb485 commit f4f5d2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

comparison.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Comparison
1717
`[[ $a != [0-9]` : not equal range `0-9`
1818
`[[ $a > $b ]]`
1919
`[[ $a < $b ]]`
20+
`[[ -v $a ]]` : variable was set
2021
`[[ -z $a ]]` : null / zero length
2122
`[[ -n $a ]]` : not null
2223

0 commit comments

Comments
 (0)