with

infix fun <T : Any> T.with(other: T): List<T>

Creates collection of this and other.

Sources

Katlib source
Link copied to clipboard