Searched refs:_bool (Results 1 – 1 of 1) sorted by relevance
50 local _bool="${1,,}"53 if [[ -z "$_bool" || "$_bool" =~ ^(0|no|false)$ ]]; then55 elif [[ "$_bool" =~ ^(1|yes|true)$ ]]; then58 echo >&2 "Value '$_bool' is not a valid boolean value"