updated utils.sh

pull/16/head
Hari Sekhon 7 months ago
parent 74a0f1d2dd
commit 88a0361fe0

@ -1182,6 +1182,8 @@ is_float(){
is_bool(){
local arg="$1"
# intentionally not making this case insensitive in case APIs are touchy about this
# calling script can set case matching insensitivity if needed
[[ "$arg" =~ ^true|false$ ]]
}

Loading…
Cancel
Save