lib/dry/schema/dsl.rb
# Check if any filter rules were defined
#
# @api private
Check if any filter rules were defined
Check if any filter rules were defined
def filter_rules?
        if instance_variable_defined?("@filter_schema_dsl") && !filter_schema_dsl.macros.empty?
          return true
        end
        parents.any?(&:filter_rules?)
      end
def filter_rules? if instance_variable_defined? ( "@filter_schema_dsl" ) && ! filter_schema_dsl . macros . empty? return true end parents . any? ( & :filter_rules? ) end
Check if any filter rules were defined
Check if any filter rules were defined
api
None