Skip to main content

current_func_name

Function current_func_name 

Source
pub fn current_func_name() -> String
Expand description

Returns the name of the currently executing function (top of FUNC_NAME_STACK).

Returns an empty string when executing at the top level (REPL / script scope).