destructured

open fun destructured(componentCount: Int): List<T>

Destructures this object into a list of components.

Return

a list of components of size componentCount

Parameters

componentCount

number of components to destructure

Throws

if componentCount is greater than the number of available components