mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Accurately document StringName comparisons
This commit is contained in:
parent
b40b35fb39
commit
2f9121dea6
@ -1020,14 +1020,14 @@
|
|||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="right" type="StringName" />
|
<param index="0" name="right" type="StringName" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the left [String] comes before [param right] in [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url], which roughly matches the alphabetical order. Useful for sorting.
|
Returns [code]true[/code] if the left [StringName]'s pointer comes before [param right]. Note that this will not match their [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url].
|
||||||
</description>
|
</description>
|
||||||
</operator>
|
</operator>
|
||||||
<operator name="operator <=">
|
<operator name="operator <=">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="right" type="StringName" />
|
<param index="0" name="right" type="StringName" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the left [String] comes before [param right] in [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url], which roughly matches the alphabetical order, or if both are equal.
|
Returns [code]true[/code] if the left [StringName]'s pointer comes before [param right] or if they are the same. Note that this will not match their [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url].
|
||||||
</description>
|
</description>
|
||||||
</operator>
|
</operator>
|
||||||
<operator name="operator ==">
|
<operator name="operator ==">
|
||||||
@ -1048,14 +1048,14 @@
|
|||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="right" type="StringName" />
|
<param index="0" name="right" type="StringName" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the left [StringName] comes after [param right] in [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url], which roughly matches the alphabetical order. Useful for sorting.
|
Returns [code]true[/code] if the left [StringName]'s pointer comes after [param right]. Note that this will not match their [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url].
|
||||||
</description>
|
</description>
|
||||||
</operator>
|
</operator>
|
||||||
<operator name="operator >=">
|
<operator name="operator >=">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<param index="0" name="right" type="StringName" />
|
<param index="0" name="right" type="StringName" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the left [StringName] comes after [param right] in [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url], which roughly matches the alphabetical order, or if both are equal.
|
Returns [code]true[/code] if the left [StringName]'s pointer comes after [param right] or if they are the same. Note that this will not match their [url=https://en.wikipedia.org/wiki/List_of_Unicode_characters]Unicode order[/url].
|
||||||
</description>
|
</description>
|
||||||
</operator>
|
</operator>
|
||||||
</operators>
|
</operators>
|
||||||
|
Loading…
Reference in New Issue
Block a user