class Dry::Schema::Predicate::Negation

@api private
A negated predicate

def initialize(predicate)

Other tags:
    Api: - private
def initialize(predicate)
  @predicate = predicate
end

def to_ast(...)

Other tags:
    Api: - private

Returns:
  • (Array) -
def to_ast(...)
  [:not, predicate.to_ast(...)]
end