detect_component_type function

Detect Component Type Based on Output ID Patterns