add getTypeSetResponsive function argument validation