[−][src]Function holochain_tracing::with_top_or_null
pub fn with_top_or_null<A, F: FnOnce(&mut Span) -> A>(f: F) -> A
If the stack is not empty, return the top item, else return None
pub fn with_top_or_null<A, F: FnOnce(&mut Span) -> A>(f: F) -> A
If the stack is not empty, return the top item, else return None