reactor-kotlin-extensions / reactor.kotlin.extra.bool / reactor.core.publisher.Mono

Extensions for reactor.core.publisher.Mono

logicalAnd

Extension to logically combine two Boolean with the AND operator.

fun Mono<Boolean>.logicalAnd(rightHand: Mono<Boolean>): Mono<Boolean>

logicalNAnd

Extension to logically combine two Boolean with the Not-AND (NAND) operator.

fun Mono<Boolean>.logicalNAnd(rightHand: Mono<Boolean>): Mono<Boolean>

logicalNOr

Extension to logically combine two Boolean with the Not-OR (NOR) operator.

fun Mono<Boolean>.logicalNOr(rightHand: Mono<Boolean>): Mono<Boolean>

logicalOr

Extension to logically combine two Boolean with the OR operator.

fun Mono<Boolean>.logicalOr(rightHand: Mono<Boolean>): Mono<Boolean>

logicalXOr

Extension to logically combine two Boolean with the exclusive-OR (XOR) operator.

fun Mono<Boolean>.logicalXOr(rightHand: Mono<Boolean>): Mono<Boolean>

not

Extension to logically revert a Boolean. It can also be applied as a ! operator.

operator fun Mono<Boolean>.not(): Mono<Boolean>