Skip to contents

Returns the nesting depth of arena scopes. Useful for debugging.

Usage

arena_depth()

Value

Integer count of nested arena scopes (0 if not in an arena).

Examples

arena_depth()
#> [1] 0