kactoos-jvm / nnl.rocks.kactoos.scalar / And / <init>
And(vararg src:
KScalar
<
Boolean
>)
And(vararg src:
Scalar
<
Boolean
>)
And(iterable:
Iterable
<
KScalar
<
Boolean
>>)
Logical conjunction.
This class can be effectively used to iterate through
a collection, just like forEach
works:
And<String>(
ProcOf { println(it) },
IterableOf("Mary", "John", "William", "Napkin")
).value()
There is no thread-safety guarantee.
iterable
- The encapsulated iterable
See Also
Since 0.3