Returns transducer which calls {@link @thi.ng/arrays#fuzzyMatch} for each value and discards all non-matching values.
remarks
The key option function can be used to extract/produce the actual value used for the search. The equiv option predicate can be used to customize item equality checking. Uses {@link @thi.ng/equiv#equiv} by default.
Returns transducer which calls {@link @thi.ng/arrays#fuzzyMatch} for each value and discards all non-matching values.
The
key
option function can be used to extract/produce the actual value used for the search. Theequiv
option predicate can be used to customize item equality checking. Uses {@link @thi.ng/equiv#equiv} by default.[...filterFuzzy("ho", ["hello", "hallo", "hey", "heyoka"])] // ["hello", "hallo", "heyoka"]