Skip to contents

Get file types for a specific control

Usage

get_file_types_for_control(
  control_type,
  control_file = "controls.json",
  app_file = "app.json"
)

Arguments

control_type

A character string representing the type of the control.

control_file

A character string indicating the path to the controls.json file.

app_file

A character string indicating the path to the app.json file.

Value

A named list of file types or a list with "NA" if not specified.

Examples

get_file_types_for_control("dbs_sheet")
#> $control_type
#> $control_type$<NA>
#> NULL
#> 
#>