Returns an estimation of the length of a function (in number of lines)

function_length(body)

Arguments

body

character; function body as a character vector that has already been passed to the [`language_to_character()`] function

Value

numeric; length as number