calculate_number_of_open_braces: Create array of indicies

View source: R/functional-structure.R

calculate_number_of_open_bracesR Documentation

Create array of indicies

Description

The value at each position increases (decreases) by one if a brace is opened (closed) in the corresponding line of the code.

Usage

calculate_number_of_open_braces(lines_of_code)

Arguments

lines_of_code

An array, containing the full lines of code as character

Value

An array


ims-fhs/badhacker documentation built on March 21, 2022, 7:50 a.m.