api / org.gradle.api.reflect / TypeOf / getComponentType

getComponentType

open fun getComponentType(): TypeOf<*>

Returns the component type of the array type this object represents.

Return
null if this object does not represent an array type.

See Also
#isArray()