Provides helper functions to create dynamic store driven filters and sort functions for dynamic reducers. The returned functions are also Svelte stores and can be added to a reducer as well as used as a store.

Accessors

Accessors

  • get filters(): DynReducerHelper.Filters
  • Returns the following filter functions:

    • regexObjectQuery(accessors, options); suitable for object reducers matching one or more property keys / accessors against the store value as a regex. To access deeper entries into the object format the accessor string with . between entries to walk. Optional parameters include logging access warnings, case sensitivity, and passing in an existing store.

    Returns DynReducerHelper.Filters

    All available filters.