asList

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

Creates a single element list from this.