asList

fun <T : Any> T.asList(): List<T>

Creates a single element list from this.

Sources

Katlib source
Link copied to clipboard