Or

data class Or<T : Any>(val operands: Set<BooleanExpression<T>>) : BooleanExpression<T>

Constructors

Link copied to clipboard
constructor(vararg operands: BooleanExpression<T>)
constructor(operands: Set<BooleanExpression<T>>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun <T : Any> BooleanExpression<T>.evaluate(block: (T) -> Boolean): Boolean
@ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v3_2_1)
fun BooleanExpression<BTerm>.evaluate(variables: Set<String>, typename: String?): Boolean
fun BooleanExpression<BTerm>.evaluate(variables: Set<String>, typename: String?, adapterContext: AdapterContext, path: List<Any>?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun simplify(): BooleanExpression<T>

This is not super well defined but works well enough for our simple use cases

Link copied to clipboard
open override fun toString(): String