docs(negate): wrong document result (#207)

This commit is contained in:
CreeJee 2024-07-15 19:11:43 +09:00 committed by GitHub
parent deb3882890
commit d909cdc8e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -22,5 +22,5 @@ function negate<F extends (...args: unknown[]) => boolean>(func: F): F;
import { negate } from 'es-toolkit/function';
negate(() => true)(); // returns 'false'
negate(() => false)(); // returns 'false'
negate(() => false)(); // returns 'true'
```

View File

@ -22,5 +22,5 @@ function negate<F extends (...args: unknown[]) => boolean>(func: F): F;
import { negate } from 'es-toolkit/function';
negate(() => true)(); // returns 'false'
negate(() => false)(); // returns 'false'
negate(() => false)(); // returns 'true'
```

View File

@ -22,5 +22,5 @@ function negate<F extends (...args: unknown[]) => boolean>(func: F): F;
import { negate } from 'es-toolkit/function';
negate(() => true)(); // 返回 'false'
negate(() => false)(); // 返回 'false'
negate(() => false)(); // 返回 'true'
```