doc / ch.tutteli.atrium.api.cc.infix.en_GB / asIterable

asIterable

fun <E> Assert<Array<out E>>.asIterable(): Assert<Iterable<E>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<Array<E>> into Assert<Iterable<E>>.

The transformation as such is not reflected in reporting. Use returnValueOf(Array<out E>::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

infix fun <E> Assert<Array<out E>>.asIterable(assertionCreator: Assert<Iterable<E>>.() -> Unit): Assert<Iterable<E>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<Array<E>> into Assert<Iterable<E>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(Array<out E>::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("byteArrAsIterable") fun Assert<ByteArray>.asIterable(): Assert<Iterable<Byte>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<CharArray> into Assert<Iterable<Byte>>.

The transformation as such is not reflected in reporting. Use returnValueOf(ByteArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created Assert for the transformed subject.

@JvmName("byteArrAsIterable") infix fun Assert<ByteArray>.asIterable(assertionCreator: Assert<Iterable<Byte>>.() -> Unit): Assert<Iterable<Byte>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<CharArray> into Assert<Iterable<Byte>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(ByteArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created Assert for the transformed subject.

@JvmName("charArrAsIterable") fun Assert<CharArray>.asIterable(): Assert<Iterable<Char>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<CharArray> into Assert<Iterable<Char>>.

The transformation as such is not reflected in reporting. Use returnValueOf(CharArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("charArrAsIterable") infix fun Assert<CharArray>.asIterable(assertionCreator: Assert<Iterable<Char>>.() -> Unit): Assert<Iterable<Char>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<CharArray> into Assert<Iterable<Char>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(CharArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("shortArrAsIterable") fun Assert<ShortArray>.asIterable(): Assert<Iterable<Short>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<ShortArray> into Assert<Iterable<Short>>.

The transformation as such is not reflected in reporting. Use returnValueOf(ShortArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("shortArrAsIterable") infix fun Assert<ShortArray>.asIterable(assertionCreator: Assert<Iterable<Short>>.() -> Unit): Assert<Iterable<Short>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<ShortArray> into Assert<Iterable<Short>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(ShortArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("intArrAsIterable") fun Assert<IntArray>.asIterable(): Assert<Iterable<Int>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<IntArray> into Assert<Iterable<Int>>.

The transformation as such is not reflected in reporting. Use returnValueOf(IntArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("intArrAsIterable") infix fun Assert<IntArray>.asIterable(assertionCreator: Assert<Iterable<Int>>.() -> Unit): Assert<Iterable<Int>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<IntArray> into Assert<Iterable<Int>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(IntArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("longArrAsIterable") fun Assert<LongArray>.asIterable(): Assert<Iterable<Long>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<LongArray> into Assert<Iterable<Double>>.

The transformation as such is not reflected in reporting. Use returnValueOf(LongArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("longArrAsIterable") infix fun Assert<LongArray>.asIterable(assertionCreator: Assert<Iterable<Long>>.() -> Unit): Assert<Iterable<Long>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<LongArray> into Assert<Iterable<Double>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(LongArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("floatArrAsIterable") fun Assert<FloatArray>.asIterable(): Assert<Iterable<Float>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<FloatArray> into Assert<Iterable<Float>>.

The transformation as such is not reflected in reporting. Use returnValueOf(FloatArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("floatArrAsIterable") infix fun Assert<FloatArray>.asIterable(assertionCreator: Assert<Iterable<Float>>.() -> Unit): Assert<Iterable<Float>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<FloatArray> into Assert<Iterable<Float>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(FloatArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("doubleArrAsIterable") fun Assert<DoubleArray>.asIterable(): Assert<Iterable<Double>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<DoubleArray> into Assert<Iterable<Double>>.

The transformation as such is not reflected in reporting. Use returnValueOf(DoubleArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("doubleArrAsIterable") infix fun Assert<DoubleArray>.asIterable(assertionCreator: Assert<Iterable<Double>>.() -> Unit): Assert<Iterable<Double>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<DoubleArray> into Assert<Iterable<Double>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(DoubleArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("boolArrAsIterable") fun Assert<BooleanArray>.asIterable(): Assert<Iterable<Boolean>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<BooleanArray> into Assert<Iterable<Boolean>>.

The transformation as such is not reflected in reporting. Use returnValueOf(BooleanArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

@JvmName("boolArrAsIterable") infix fun Assert<BooleanArray>.asIterable(assertionCreator: Assert<Iterable<Boolean>>.() -> Unit): Assert<Iterable<Boolean>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<BooleanArray> into Assert<Iterable<Boolean>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use returnValueOf(BooleanArray::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

fun <E> Assert<Sequence<E>>.asIterable(): Assert<Iterable<E>>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Turns Assert<Sequence<E>> into Assert<Iterable<E>>.

The transformation as such is not reflected in reporting. Use returnValueOf(Sequence::asIterable) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.