Reverse order of arguments of isRequiredValueType().