From ed200072d323e8be5a806929cd56248b2e3cb159 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Wed, 23 Oct 2024 08:28:54 -0500 Subject: [PATCH] Type `Base.is_interactive` as `Bool` --- base/initdefs.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/initdefs.jl b/base/initdefs.jl index 85b708433c0ef..f7693813239c6 100644 --- a/base/initdefs.jl +++ b/base/initdefs.jl @@ -30,14 +30,14 @@ exit() = exit(0) const roottask = current_task() -is_interactive = false +is_interactive::Bool = false """ isinteractive() -> Bool Determine whether Julia is running an interactive session. """ -isinteractive() = (is_interactive::Bool) +isinteractive() = is_interactive ## package depots (registries, packages, environments) ##