IntHolderDsl

interface IntHolderDsl<out T : IntHolder>

Deprecated

Use the regular builders instead.

Context responsible for building an IntHolder.

Functions

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

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

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

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