Skip to content

Commit 5c6d92e

Browse files
tsnlslowriot
authored andcommitted
Docs: fix typos of 'whether' in operator_{gt,le,lt}.md (nlohmann#4412)
1 parent 4ff214b commit 5c6d92e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/mkdocs/docs/api/basic_json/operator_gt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bool operator>(ScalarType lhs, const const_reference rhs) noexcept; // (2)
1717
operand is `NaN` and the other operand is either `NaN` or any other number.
1818
- Otherwise, returns the result of `#!cpp !(lhs <= rhs)` (see [**operator<=**](operator_le.md)).
1919

20-
2. Compares wether a JSON value is greater than a scalar or a scalar is greater than a JSON value by
20+
2. Compares whether a JSON value is greater than a scalar or a scalar is greater than a JSON value by
2121
converting the scalar to a JSON value and comparing both JSON values according to 1.
2222

2323
## Template parameters

docs/mkdocs/docs/api/basic_json/operator_le.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bool operator<=(ScalarType lhs, const const_reference rhs) noexcept; // (2)
1717
operand is `NaN` and the other operand is either `NaN` or any other number.
1818
- Otherwise, returns the result of `#!cpp !(rhs < lhs)` (see [**operator<**](operator_lt.md)).
1919

20-
1. Compares wether a JSON value is less than or equal to a scalar or a scalar is less than or equal
20+
1. Compares whether a JSON value is less than or equal to a scalar or a scalar is less than or equal
2121
to a JSON value by converting the scalar to a JSON value and comparing both JSON values according
2222
to 1.
2323

docs/mkdocs/docs/api/basic_json/operator_lt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ bool operator<(ScalarType lhs, const const_reference rhs) noexcept; // (2)
2727
7. binary
2828
For instance, any boolean value is considered less than any string.
2929

30-
2. Compares wether a JSON value is less than a scalar or a scalar is less than a JSON value by converting
30+
2. Compares whether a JSON value is less than a scalar or a scalar is less than a JSON value by converting
3131
the scalar to a JSON value and comparing both JSON values according to 1.
3232

3333
## Template parameters

0 commit comments

Comments
 (0)