Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / AndWithIndex / invoke

invoke

fun invoke(): Boolean

Overrides Scalar.invoke

Get value of this Scalar

Return The value

Since 0.2

operator fun <X : Any> invoke(proc: Proc<X>, vararg src: X): AndWithIndex

Parameters

proc - Proc to map

src - The iterable

X - Type of items in the iterableoperator fun <X : Any> invoke(func: BiFunc<X, Int, Boolean>, vararg src: X): AndWithIndex

Parameters

func - Func to map

src - The iterable

X - Type of items in the iterableoperator fun <X : Any> invoke(proc: BiProc<X, Int>, src: Iterable<X>): AndWithIndex

Parameters

src - The iterable

proc - Proc to use

X - Type of items in the iterable

Since 0.24

operator fun <X : Any> invoke(func: BiFunc<X, Int, Boolean>, src: Iterable<X>): AndWithIndex

Parameters

src - The iterable

func - Func to map

X - Type of items in the iterable

Since 0.24