class.val function

Validates acceptable classes of inputs Set single or multiple inputs to TRUE. This is what the fn accepts. If x is any one of these a single TRUE will be returned