HexagonJS
Filter Changelog
2.7.1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.7.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.5.3
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.5.2
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.5.1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.5.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.4.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.3.1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.3.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.2.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.1.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.0.3
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.0.2
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.0.1
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
2.0.0
hx.filter
Deprecated
The filter object has been replaced by specific filter methods directly on the hx object.
filterFuzzyArray
Added
A function that allows filtering of array values that contain the letters in a search term in the same order but not necessarily directly after each other.
array = ['Bob Stevenson', 'Steve Stevenson', 'Dave Peters']
hx.filterFuzzy(array, 'ss') // returns ['Steve Stevenson', 'Bob Stevenson'] as the match in Steve Stevenson is stronger.
filterExactArray
Added
A function that allows filtering of array values that match a search term exactly.
filterStartsWithArray
Added
A function that allows filtering of array values that start with a search term.
filterContainsArray
Added
A function that allows filtering of array values that contain a search term.
filterLessArray
Added
A function that allows filtering of array values that are less than or equal to a search term.
filterGreaterArray
Added
A function that allows filtering of array values that are greater than or equal to a search term.
filterExcludesArray
Added
A function that allows filtering of array values that are don't contain a search term.
filterRegexArray
Added
A function that allows filtering of array values using a regular expression.
filterStringTypesArray[String]
Added
A function that returns the filter types that can be used when filtering strings:
[
  'contains',
  'exact'
  'excludes',
  'startsWith'
  'regex',
  'fuzzy'
]
filterNumberTypesArray[String]
Added
A function that returns the filter types that can be used when filtering numbers:
[
  'exact',
  'greater',
  'less'
]
filterTypesArray[String]
Added
A function that returns all the filter types:
[
  'contains',
  'exact'
  'greater',
  'less',
  'excludes',
  'startsWith'
  'regex',
  'fuzzy'
]
1.12.0
hx.filter
stringTypesArray[String]
Added
#401
Added functions for getting the filter types
hx.filter
numberTypesArray[String]
Added
#401
Added functions for getting the filter types
hx.filter
Added
#401
Added functions for getting the filter types