Skip to contents

Return TRUE if the value is a string (character or factor).

Usage

is_string(x)

Arguments

x

A vector

Value

A boolean vector with the return from the condition check.

Examples


is_string("A")
#> [1] TRUE