mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
5
deps/acore/bash-lib/src/common/boolean.sh
vendored
Normal file
5
deps/acore/bash-lib/src/common/boolean.sh
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
function isTrue() {
|
||||
local val
|
||||
val=$(echo "$1" | tr '[:upper:]' '[:lower:]')
|
||||
[[ "$val" == "1" || "$val" == "true" || "$val" == "yes" || "$val" == "on" ]]
|
||||
}
|
||||
Reference in New Issue
Block a user