diff --git a/scripts/Common/Scripts/config.fish b/scripts/Common/Scripts/config.fish index 8ffdcae6..f0452b49 100644 --- a/scripts/Common/Scripts/config.fish +++ b/scripts/Common/Scripts/config.fish @@ -4,6 +4,10 @@ function getConfig -S -a property evalModule "$CONFIG_MODULE" "$property" $argv[2..] end +function isSet -S -a property + not test "$(getConfig "$property" --json)" = "null" +end + function collectionActive -S -a name [ "$(getConfig "valhalla.software.$name" --json)" = "true" ] end