IntHolderDsl

@SinceKotools(project = Project.Types, version = "3.1", stability = StabilityLevel.Alpha)
interface IntHolderDsl<out T : IntHolder>

Context responsible for building an IntHolder.

Functions

int
Link copied to clipboard
common
abstract infix fun int(value: Int): T

Returns the value as a type T, or throws an IllegalArgumentException if it fails.

intOrNull
Link copied to clipboard
common
open infix fun intOrNull(value: Int): T?

Returns the value as a type T, or returns null if it fails.