isFlagOrNULL checks if object is flag (a length one logical vector) or NULL.

isFlagOrNULL(x)

Arguments

x

object to test.

Value

Logical indicating if object is flag or NULL