Skip to content

Commit d603675

Browse files
committed
fix(docs): bad code snippet
1 parent 13d6922 commit d603675

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/operations/predicates.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export const noneConcur: PredicateConcur
238238
* console.log(
239239
* pipe(
240240
* [`sloth`, `more sloth`, `even more sloth`],
241-
* includes(3),
241+
* includes(`more sloth`),
242242
* ),
243243
* )
244244
* //=> true
@@ -264,7 +264,7 @@ export const includes: {
264264
* console.log(
265265
* await pipe(
266266
* asAsync([`sloth`, `more sloth`, `even more sloth`]),
267-
* includesAsync(3),
267+
* includesAsync(`more sloth`),
268268
* ),
269269
* )
270270
* //=> true
@@ -295,7 +295,7 @@ export const includesAsync: {
295295
* console.log(
296296
* await pipe(
297297
* asConcur([`sloth`, `more sloth`, `even more sloth`]),
298-
* includesConcur(3),
298+
* includesConcur(`more sloth`),
299299
* ),
300300
* )
301301
* //=> true

0 commit comments

Comments
 (0)