koin-core / org.koin.core.parameter / DefinitionParameters

DefinitionParameters

class DefinitionParameters

DefinitionParameters - Parameter holder Usable with exploded declaration

Author

Properties

values

vararg val values: Array<out Any?>

Functions

component1

operator fun <T> component1(): T

component2

operator fun <T> component2(): T

component3

operator fun <T> component3(): T

component4

operator fun <T> component4(): T

component5

operator fun <T> component5(): T

get

operator fun <T> get(i: Int): T

get element at given index return T

fun <T> get(): Any?

Get first element of given type T return T

isEmpty

fun isEmpty(): Boolean

Tells if it has no parameter

isNotEmpty

fun isNotEmpty(): Boolean

Tells if it has parameters

size

fun size(): Int

Number of contained elements

Companion Object Properties

MAX_PARAMS

const val MAX_PARAMS: Int