is_col_present: Check for existence of a set of columns in a dataframe

View source: R/utils-dataframe.R

is_col_presentR Documentation

Check for existence of a set of columns in a dataframe

Description

Check for existence of a set of columns in a dataframe

Usage

is_col_present(df, ...)

Arguments

df

a dataframe to test

...

the column names (unquoted)

Value

TRUE if the columns are all there, false otherwise

Examples

is_col_present(iris, Species, Petal.Width)

interfacer documentation built on April 4, 2025, 6:13 a.m.