Skip to contents

Check for string (rlang util)

Usage

check_string(x)

Arguments

x

input argument

Value

TRUE is passes, alert + FALSE if fails

Examples

pickler:::check_string("test")
#> [1] TRUE
pickler:::check_string(1)
#>  Argument is not string!
#> [1] FALSE