Learn R Programming

shard (version 0.1.0)

arena_depth: Get Current Arena Depth

Description

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

Usage

arena_depth()

Arguments

Value

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

Examples

Run this code
arena_depth()

Run the code above in your browser using DataLab