check Not Empty Return Null If One Element And Otherwise Int From Until Size
fun ArbExtensionPoint.checkNotEmptyReturnNullIfOneElementAndOtherwiseIntFromUntilSize(size: Int): ArbArgsGenerator<Int>?(source)
!! No backward compatibility guarantees !! Reuse at your own risk
Checks that the given size is not 0, returns null if size is 1 and otherwise arb.intFromUntil with from = 0 and until = size.
Since
2.0.0
Parameters
size
represents the number of elements passed to an ArbArgsGenerator factory.