AnyInt

@ExperimentalSince(version = KotoolsTypesVersion.V4_4_0)
@JvmName(name = "create")
fun AnyInt(value: Int): AnyInt

Creates an instance of AnyInt with the specified value.


Calling from Kotlin

Here's an example of calling this function from Kotlin code:

val number = AnyInt(1)
println(number) // 1

Calling from Java

The Java function generated from this one is AnyIntFactory.create. Here's an example of calling it from Java code:

final AnyInt number = AnyIntFactory.create(1);
System.out.println(number); // 1