Skip to contents

Get action types for a specific sample

Usage

get_sample_action_types(
  sample_type,
  sample_file = "samples.json",
  app_file = "app.json"
)

Arguments

sample_type

A character string representing the type of the sample.

sample_file

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

app_file

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

Value

A named list of action types or NULL if no actions are defined.

Examples

get_sample_action_types("micronix")
#>   Upload     Move 
#> "upload"   "move"