Argument

class Argument<out T>(source)

Deprecated (with error)

Removed in favor of DeclaredParameter

Replace with

import com.benwoodworth.parameterize.ParameterizeScope
ParameterizeScope.DeclaredParameter<T>

A parameter and its argument when the failure occurred.

Properties

Link copied to clipboard
val argument: T

The parameter's argument when the failure occurred.

Link copied to clipboard

The Kotlin property for the parameter.

Functions

Link copied to clipboard
operator fun component1(): KProperty<*>

Returns the parameter component.

Link copied to clipboard
operator fun component2(): T

Returns the argument component.

Link copied to clipboard
open override fun toString(): String

Returns "parameter = argument", with the parameter name and argument value.