enum

Fexpr::JoinOperation

Inherits Enum < Comparable < Value < Object

Represents the type of logical operation used to join expressions.

Constants

JoinAnd = 0

Logical AND (&&) operation between expressions

JoinOr = 1

Logical OR (||) operation between expressions

Class methods

parse(literal : String) : JoinOperation | Nil

Creates a JoinOperation from its string representation.

Returns nil if the literal is not a valid join operator.

Source

Instance methods

join_and?

Returns true if this enum value equals JoinAnd

Source
join_or?

Returns true if this enum value equals JoinOr

Source