withDisabled

Returns a list containing the results of disabling/enabling each component in the original collection.


fun <T : Component> Sequence<T>.withDisabled(disabled: Boolean): <Error class: unknown class>(source)

Returns a sequence containing the results of disabling/enabling each component in the original sequence.

The operation is intermediate and stateless.