check if obj is neither an object nor a function.