kactoos-jvm / nnl.rocks.kactoos.scalar / Ternary / invoke
fun invoke(): T
Overrides Scalar.invoke
Get value of this Scalar
Return The value
Since 0.2
operator fun <T : Any, X : Any> invoke(input: X, cnd: Func<X, Boolean>, cons: Func<X, T>, alter: Func<X, T>): Ternary<T>
input - The input to pass to all of them
cnd - The condition
cons - The consequent
alter - The alternative
X - Type of input
Since 0.4