authorgravatar for szlachciak.piotr@gmail.comPiotr Szlachciak <szlachciak.piotr@gmail.com> 2024-01-16 18:50:47+01:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2024-01-16 20:17:29+02:00
log6a3f9a0b50d989f5591a55424a328e3ef93c7e9c
treeabb792b66e16b226b8664961ffff38785f56757f
parentf3353708d8df3b522c3ace618283f17a1733557b

Add missing != null operator


1 files changed, 16 insertions(+), 1 deletions(-)

doc/langref.html.in+16-1
...@@ -2199,7 +2199,7 @@ unwrapped == 1234{#endsyntax#}</pre>...@@ -2199,7 +2199,7 @@ unwrapped == 1234{#endsyntax#}</pre>
2199 </td>2199 </td>
2200 <td>2200 <td>
2201 <pre>{#syntax#}const value: ?u32 = null;2201 <pre>{#syntax#}const value: ?u32 = null;
2202value == null{#endsyntax#}</pre>2202(value == null) == true{#endsyntax#}</pre>
2203 </td>2203 </td>
2204 </tr>2204 </tr>
2205 <tr>2205 <tr>
...@@ -2220,6 +2220,21 @@ value == null{#endsyntax#}</pre>...@@ -2220,6 +2220,21 @@ value == null{#endsyntax#}</pre>
2220 <pre>{#syntax#}(1 != 1) == false{#endsyntax#}</pre>2220 <pre>{#syntax#}(1 != 1) == false{#endsyntax#}</pre>
2221 </td>2221 </td>
2222 </tr>2222 </tr>
2223 <tr>
2224 <th scope="row"><pre>{#syntax#}a != null{#endsyntax#}</pre></th>
2225 <td>
2226 <ul>
2227 <li>{#link|Optionals#}</li>
2228 </ul>
2229 </td>
2230 <td>
2231 Returns {#syntax#}false{#endsyntax#} if a is {#syntax#}null{#endsyntax#}, otherwise returns {#syntax#}true{#endsyntax#}.
2232 </td>
2233 <td>
2234 <pre>{#syntax#}const value: ?u32 = null;
2235(value != null) == false{#endsyntax#}</pre>
2236 </td>
2237 </tr>
2223 <tr>2238 <tr>
2224 <th scope="row"><pre>{#syntax#}a > b{#endsyntax#}</pre></th>2239 <th scope="row"><pre>{#syntax#}a > b{#endsyntax#}</pre></th>
2225 <td>2240 <td>