Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Aug 8, 2024
1 parent f24bad6 commit 03ef951
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* ## See also
*
* - {@link module:iterutil/async/chain.chain} for the asynchronous version.
* - {@link async/chain.chain} for the asynchronous version.
*/
export function* chain<T extends Iterable<unknown>[]>(
...iterables: T
Expand Down
8 changes: 4 additions & 4 deletions compact.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Removes all nullish ({@linkcode null} or {@linkcode undefined}) values from an iterable.
* Removes all nullish (`null` or `undefined`) values from an iterable.
*
* @param iterable - The iterable to compact.
* @returns The compacted iterable.
Expand All @@ -13,9 +13,9 @@
* ```
*
* ## See also
* - {@link module:iterutil/async/compact.compact} for the asynchronous version.
* - {@link module:iterutil/compress.compress} to select elements based on a selector iterable.
* - {@link module:iterutil/filter.filter} to remove values based on a predicate.
* - {@link module:@core/iterutil/async/compact.compact} for the asynchronous version.
* - {@link module:/compress.compress} to select elements based on a selector iterable.
* - {@link module:filter.filter} to remove values based on a predicate.
*/
export function* compact<T>(iterable: Iterable<T>): Iterable<NonNullable<T>> {
for (const value of iterable) {
Expand Down

0 comments on commit 03ef951

Please sign in to comment.