| 18 | using mozilla::Err; |
| 19 | |
| 20 | bool gjs_environment_variable_is_set(const char* env_variable_name) { |
| 21 | const char* s = g_getenv(env_variable_name); |
| 22 | if (!s) |
| 23 | return false; |
| 24 | |
| 25 | if (*s == '\0') |
| 26 | return false; |
| 27 | |
| 28 | return true; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * gjs_g_strv_concat: |
no outgoing calls
no test coverage detected