list_formals: List Formal Arguments

View source: R/to_ast.R

list_formalsR Documentation

List Formal Arguments

Description

This function returns the list of formal arguments, also called parameters, for a function object.

Usage

list_formals(expr)

Details

For primitives that have no named parameters, this function returns an empty list.


nick-ulle/ast documentation built on May 14, 2024, 7:40 p.m.