isClassOrNULL checks if object is an instance of a specified class or is null.

isClass(x, class)

Arguments

x

object to test.

class

String specifying class to test.

Value

Logical indicating if x is an instance of class.