com.github.themrmilchmann.kraton.lang.jvm / array

array

@JvmOverloads fun IJvmType.array(dim: Int = 1, nullable: Boolean = isNullable): JvmArrayType (source)

Shortcut to create a new JvmArrayType.

Creates a new array representing type with the given type and dimensions.

Parameters

dim - the dimensions of the array (defaults to one)

nullable - whether or not the referenced type is nullable

Receiver
the type of the array

Return
the representing type

Since
1.0.0