I'm pretty sure that structAsValueType can only be of type reflect.Type at this point, so this check is superfluous.