takeOrElse
inline fun SequenceNumber.takeOrElse(block: () -> SequenceNumber): SequenceNumber
Content copied to clipboard
If this SequenceNumber then this is returned, otherwise block is executed and its result is returned.
If this SequenceNumber then this is returned, otherwise block is executed and its result is returned.