Kactoos

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

invoke

fun invoke(): Boolean

Overrides Scalar.invoke

Get value of this Scalar

Return The value

Since 0.2

@SafeVarargs operator fun <X : Any> invoke(proc: Proc<X>, vararg src: X): Or

Parameters

proc - Proc to map

src - The iterable

X - Type of items in the iterable@SafeVarargs operator fun <X : Any> invoke(func: Func<X, Boolean>, vararg src: X): Or

Parameters

func - Func to map

src - The iterable

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

Parameters

src - The iterable

proc - Proc to use

X - Type of items in the iterable

Since 0.24

operator fun <X : Any> invoke(func: Func<X, Boolean>, src: Iterable<X>): Or

Parameters

src - The iterable

func - Func to map

X - Type of items in the iterable