Commit 9980a38
Fix inconsistent return type documentation for predicate functions (#1540)
* Initial plan
* Fix predicate function return type documentation for consistency
Change Returns section from type predicate syntax (e.g., `value is string`)
to `boolean` for all predicate functions across all 4 languages (en, ko, ja, zh_hans).
Co-authored-by: dayongkr <[email protected]>
* Revert incorrect changes, only fix isLength.md return type mismatch
Reverts changes that incorrectly changed type predicate returns to boolean.
Only isLength needs to have boolean return type (matching source code).
Other predicate functions should keep their type predicate returns.
Co-authored-by: dayongkr <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: dayongkr <[email protected]>1 parent eb9e939 commit 9980a38
File tree
4 files changed
+4
-4
lines changed- docs
- ja/reference/predicate
- ko/reference/predicate
- reference/predicate
- zh_hans/reference/predicate
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
0 commit comments