Skip to content

Commit

Permalink
docs(uniqWith): Complete examples of uniqWith (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Sojin Park <[email protected]>
  • Loading branch information
Collection50 and raon0211 authored Jun 1, 2024
1 parent dcf0fb1 commit 1709677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/uniqWith.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { uniq } from "./uniq";
*
* @example
* ```ts
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => );
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1);
* // [1, 2, 3, 5, 7]
* ```
*/
Expand Down

0 comments on commit 1709677

Please sign in to comment.