Is there a way to make this shorter? ``` i...
# announcements
b
Is there a way to make this shorter?
Copy code
if (container.type === Container.Type.EXERCISE) {
            val exp = providedContainers.find { it.type === Container.Type.EXPLAIN }
            if(exp != null)
                containerList.add(exp)
        }