Method: FilterTable::Table#is_field_lazy?

Defined in:
lib/utils/filter.rb

#is_field_lazy?(sought_field_name) ⇒ Boolean

Returns:

  • (Boolean)


197
198
199
200
201
202
# File 'lib/utils/filter.rb', line 197

def is_field_lazy?(sought_field_name)
  custom_properties_schema.values.any? do |property_struct|
    sought_field_name == property_struct.field_name && \
      property_struct.opts[:lazy]
  end
end