Skip to main content

hlrun.globals

Global constants and utility functions.

dbg_print

def dbg_print(*args: Any, **kwargs: Any) -> None

is_debug

def is_debug() -> bool

Checks if pyhl has DEBUG enabled in this runtime.

is_runtime

def is_runtime() -> bool

Checks if the environment hlrun is running in is the pyhl runtime.

DEBUG: bool

RUNTIME: bool