asList

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

Creates a single element list from this.

Sources

Link copied to clipboard