lower case

This commit is contained in:
pvincent
2026-07-18 01:28:10 +04:00
parent 9d3652a655
commit 37fa64c5b9
+1 -1
View File
@@ -9,7 +9,7 @@ readonly MIAOU_BASH_ERROR MIAOU_BASH_DEBUG
# FUNCTIONS # FUNCTIONS
function is_true { function is_true {
[[ "${1,,}" =~ ^(true|yes|1)$ ]] [[ "${1,,}" =~ ^(true|yes|1)$ ]] #${1,,} => Lowercase all chars
} }
# overridden function which permits backtracing of original `return` statement # overridden function which permits backtracing of original `return` statement