Skip to content

Commit

Permalink
Document Object.get_class()/is_class() ignores class_name declara…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Calinou committed Sep 13, 2021
1 parent 5f69218 commit a15847e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/classes/Object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@
<method name="get_class" qualifiers="const">
<return type="String" />
<description>
Returns the object's class as a [String].
Returns the object's class as a [String]. See also [method is_class].
[b]Note:[/b] [method get_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, the base class name will be returned instead.
</description>
</method>
<method name="get_incoming_connections" qualifiers="const">
Expand Down Expand Up @@ -441,7 +442,8 @@
<return type="bool" />
<argument index="0" name="class" type="String" />
<description>
Returns [code]true[/code] if the object inherits from the given [code]class[/code].
Returns [code]true[/code] if the object inherits from the given [code]class[/code]. See also [method get_class].
[b]Note:[/b] [method is_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, [method is_class] will return [code]false[/code] for that name.
</description>
</method>
<method name="is_connected" qualifiers="const">
Expand Down

0 comments on commit a15847e

Please sign in to comment.