isStringOrNULL checks if object is string (a length one character vector) or NULL.

isStringOrNULL(x)

Arguments

x

object to test.

Value

Logical indicating if object is string or NULL