is_table_feeder_var: Checks whether a variable start is a table

View source: R/variable-start.R

is_table_feeder_varR Documentation

Checks whether a variable start is a table

Description

Checks whether a variable start is a table

Usage

is_table_feeder_var(feeder_var)

Arguments

feeder_var

string The variable start to check

Value

logical TRUE if the variable is a table feeder, FALSE otherwise

Examples

# Check if a variable is a table feeder
is_table_feeder_var("$table:my_lookup") # Returns TRUE
is_table_feeder_var("[regular_var]") # Returns FALSE
is_table_feeder_var("$table:values") # Returns TRUE

Big-Life-Lab/recodeflow documentation built on Dec. 18, 2024, 10:39 a.m.